Results 1 to 4 of 4
Thread: javascript variable
- 01-28-2009, 07:20 AM #1
- 01-28-2009, 10:18 PM #2
No, you can't do that. JSP code runs when the HTML is generated at the Web application server. Javascript runs when the HTML is rendered by the browser.
- 01-29-2009, 01:04 AM #3
Member
- Join Date
- Jan 2009
- Posts
- 9
- Rep Power
- 0
You could assign a JSP variable to a Javascript one easy enough but the other way round you're going to have to send data to the server one way or another (eg form post, AJAX)
- 01-29-2009, 07:42 AM #4
Similar Threads
-
JavaScript help
By Jeremy720 in forum New To JavaReplies: 1Last Post: 11-08-2008, 10:36 PM -
javascript
By fiero in forum New To JavaReplies: 1Last Post: 09-22-2008, 01:45 PM -
please help with javascript code!!!!
By sahkab in forum New To JavaReplies: 1Last Post: 11-26-2007, 03:20 PM -
Jsp and javascript
By Ed in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 07-04-2007, 04:54 AM -
javascript validation
By yuchuang in forum New To JavaReplies: 5Last Post: 05-14-2007, 03:38 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks