aseshu70
asked on
Onclick in jsp
In my jsp , i want to use javascript function which in turn calls java class and displays the drop down list. I can call the javascript function in onclick event.
How can i use the javascript function which calls both the java class and drop down list.
Pls help with some sample programs.
How can i use the javascript function which calls both the java class and drop down list.
Pls help with some sample programs.
Javascript cannot call the Java class, as javascript is client side and Jsp/Java is server side. You need to use the Javascript as you would with any normal HTML.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>> Applets can communicate with javascript I believe.
They sure can :-)
But I have heard there are problems with Mac OSX (may be fixed now tho) :-)
Tim
They sure can :-)
But I have heard there are problems with Mac OSX (may be fixed now tho) :-)
Tim
Split gdrnec, TimYates I reckon... If it were a 60 point Q, I would recommend a 3 way split...
Agreed, just gdrnec and Tim, mine post was just a passing comment really
agreed