Ok. I found the problem. The issue is that I am writing my code in
separate .js file where I am trying to access server side variables
which is giving error. Can anyone please let me know how can I include
or import an asp page in my .js file to access variables and constant
values in my included js file.

On Dec 10, 11:50 am, JQueryProgrammer <[EMAIL PROTECTED]> wrote:
> I am net able to access my ASP server side constant value in jquery
> file. I am trying as:
>
> var myvar = "<%= myvarvalue %>";
>
> but when i put an alert on myvar, it shows <%= myvarvalue %> and not
> the value of myvarvalue. Can anyone pls help. Its really urgent.
> Thanks in advance

Reply via email to