Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all.

FacadeGUIcontroller : class that imported in jsp.

this code doesn't accept variable as it's parameter
Java
function runmlp() {
    <% FacadeGUIcontroller.printk(document.getElementById( 'txtneuron').value); %>
}


But this code is working correctly.

Java
<% FacadeGUIcontroller.printk("myname"); %>


Please guide me.
Posted
Updated 19-Jul-11 23:09pm
v2
Comments
[no name] 18-Jul-11 5:59am    
So, what is your question?
Sergey Alexandrovich Kryukov 18-Jul-11 11:35am    
Not a question. Where is Java, where is Javascript?
--SA
shefeekcm 20-Jul-11 1:04am    
please explain it.

the method runmlp is javascript method, where is java exist here ?
 
Share this answer
 
Try:
Java
function runmlp() {
    <% FacadeGUIcontroller.printk(document.getElementById("txtneuron").value); %>
}
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900