Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

how can i use javascript variable in jsp page

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67762
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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