Javascript and ASP

Results 1 to 2 of 2

Thread: Javascript and ASP

  1. #1
    Foot Guest

    Default Javascript and ASP

    Is there any way to use the Server object in a Javascript function?<BR><BR>I&#039m trying to get input from a field in a form and use the URLEncode() method of the Server object to create a URL encoded string that will be the new value of the original field where the string was entered.<BR><BR>I&#039d also appreciate it if there is a way to do this in VBScript. Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: Javascript and ASP

    Uh-oh, I think you&#039re confusing server-side scripting language from client-side scripting language. You can&#039t use the intrinsic ASP objects in client-side scripting language. For a good article that discusses the theories behind client and server-side scripting langauges, see:<BR><BR>ASP Basics: What&#039s Happening Back There?<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts