Call JavaScript from ASP?

Results 1 to 2 of 2

Thread: Call JavaScript from ASP?

  1. #1
    Join Date
    Dec 1969

    Default Call JavaScript from ASP?

    I am currently testing a JavaScript program on an ASP page Client-side as normal. The problem is, there is a password within the script that I don&#039;t really want to be sent to the client and would prefer it to be run serverside.<BR><BR>The Javascript basically creates a URL with some info generated by the ASP so it doesn&#039;t need any info from the user of the page. Is there anyway I can call the JavaScript function myFunc(x,y) stored in myFile.js from within the ASP so it doesnt get sent to the client?<BR><BR>Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: Call JavaScript from ASP?

    You can call it from ASP, but you can&#039;t keep it off the client. That&#039;s where it has to execute at.

Posting Permissions

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