Client&Server Scripts

Results 1 to 2 of 2

Thread: Client&Server Scripts

  1. #1
    Join Date
    Dec 1969

    Default Client&Server Scripts

    How to write server side script inside a client side script and vice versa. i.e. client script inside server side script. Can anyone explain me in detail with an example.

  2. #2
    Join Date
    Dec 1969

    Default RE: Client&Server Scripts

    The only way I have found to do this is to pass the information via a function into the script. For example:<BR><BR>function nextlevel(level,confirm)<BR>{<BR>thiswin=window.op en(&#039page.asp?catid=&#039+level+&#039&confirm=& #039+confirm)<BR>}<BR><BR><BR>and server side<BR><BR>onLoad="nextlevel(&#039&#060;%=level%& #062;&#039,&#039&#060;%=confirm%&#062;&#039)"<BR>< BR>This of course may not be the only way, but I havn&#039t quite found any other way, and this seems to work for all of the situations I have run into. Hope it helps.<BR><BR>Good Luck<BR><BR>Brandon

Posting Permissions

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