onClick « Parameter « JSP-Servlet Q&A

1. Jsp with javascript parameter inside javascript onclick    stackoverflow.com

I would like to insert a call to a function to get a parameter for my JavaScript onclick function. What I would like to do is something like:

<input class="refreshbutton"

2. onClick function call with a scriptlet parameter    coderanch.com

Hi all, Is this a valid function call from nclick? nClick="editGroup('(less than sign, percentage sign)obGroupBeanArray[i].getRoleId(percentage sign, greater than sign)');" I have attached this nclick function to an image. I havent tested it with my servlet yet, but I guess we can pass a parameter to a function that is called by nclick. The parameter can be a scriptlet or not, this ...