• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass parameters to javascript function on click of html:link

 
suji pra
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am displaying links using logic:iterate tag. Onclick of link I need to window.open with some paramters passed to the javascript openNewWin("FormId", "BranchId") which implements window.open() functionality.
What is struts way of doing this ?
Thanks,
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've done something like this before:

If something along these lines won't work for you, maybe you could post some of your code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic