-
Passing value....
Hello,
I like to learn how to pass value to Textbox from JSP or servlet ? like in javascript
for example :
var document.formname.textboxname.value
another question is, how to add action methods to button in JSP ?
in java we were adding actionlistener for button
button.addactionlistener and we were writing what button is wanted to do so how will we assign methods to button in JSP?
thanks for any supports
-
i donot know whether i understand you actually.
you can add a button ,the type is button ,not submit.
then add its onclick() method on this button with funciton :fun2().
now,you can do you what you want in fun().