[jQuery] Re: Error getting value from server

2008-12-10 Thread James Hughes
ApplicationConfig.sessionId. It permits dynamic variables while keeping most of the Javascript off the page. From: jquery-en@googlegroups.com on behalf of MorningZ Sent: Wed 10/12/2008 12:05 To: jQuery (English) Subject: [jQuery] Re: Error getting value from

[jQuery] Re: Error getting value from server

2008-12-10 Thread MorningZ
"Actually my issue is that I am trying to keep my html file neat and tidy by putting all my javascript code in a separate js file" Pick your poison: - Use inline JS if you want dynamic variables - Lose the dynamic variables if you want external JS Your IIS server sees as request for ".js" (and

[jQuery] Re: Error getting value from server

2008-12-10 Thread brian
This really ought to be asked on an ASP list but I'll try to explain. On Wed, Dec 10, 2008 at 3:48 AM, JQueryProgrammer <[EMAIL PROTECTED]> wrote: > > Sorry for the spam. Actually my issue is that I am trying to keep my > html file neat and tidy by putting all my javascript code in a > separate j

[jQuery] Re: Error getting value from server

2008-12-10 Thread JQueryProgrammer
Sorry for the spam. Actually my issue is that I am trying to keep my html file neat and tidy by putting all my javascript code in a separate js file. But my javascript code refers to some server side variable values which exists in an asp file. I have included that asp file in my main asp file alo

[jQuery] Re: Error getting value from server

2008-12-09 Thread brian
Please keep your threads tidy. Don't spam the list with the same question. The file that contains the line: var myvalue = "<%= myservervalue%>"; ... is a .js file, right? It's been a long time, but I'm guessing the ASP interpreter isn't set by default to parse .js files. Put the line in the he