Bookmark Topic Watch Topic
  • New Topic

how can i use javascript variable in jsp page  RSS feed

 
arulraj michealraj
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all,

I want search in hashtable which is in jsp
but i have to implement this process using javascript variable
like this

fuction hello(funtionid)
{
var selectedindex=<%namelist.get(functionid)%>
}
here
functionid is javascript variable
namelist is hashtable which is in jsp.

But all of them are in same jsp java.


please tell me suggestion
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Report post to moderator
suggestion: learn about the differences between clientside processing and serverside processing.

Once you do you'll figure out why what you want is a complete impossibility.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
arulraj, please do not post the same question more than once. Please continue any discussion in your original post.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!