This is a discussion on "problem with JavaScript and JSP" within the JavaScript Forum section. This forum, and the thread "problem with JavaScript and JSP are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
problem with JavaScript and JSP
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
problem with JavaScript and JSP
hey
I have a JavaScript function, which I call with JSP parameters. The function call looks similar to: <button onclick="myFunction(<%= jspParameter%>);"> </button> However, this JavaScript function is called from a jsp page, which is asynchronously refreshed upon a click of the button. The problem is that the JavaScript function does NOT function when I click the button for the first time (or maybe it functions, but with the old value of the jspParameter). Only after the second click it starts taking the jspParameter. Can you please tell me how to properly get the jspParameter as input in my case.... THANKS |
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| javascript add / remove row problem | thenamenoonehastaken | JavaScript Forum | 1 | Feb 25th, 2008 09:36 |
| external javascript problem | Damian | PHP Forum | 0 | Dec 5th, 2007 09:44 |
| newbie javascript problem | c_martini | JavaScript Forum | 10 | Sep 7th, 2007 08:19 |
| Javascript problem | zc1 | JavaScript Forum | 2 | Jan 15th, 2007 17:01 |
| Javascript problem/question | kb3llm129 | JavaScript Forum | 0 | May 6th, 2006 22:03 |