the following codes are what i'm trying to figure out.Hope you guys can help me ! jsp :
<input name="test" type="text" /><br/> <input name="test" type="text" /><br/> <input name="test" type="text" /><br/> <input id="query" type="button" value="query" onClick="doajax()"/>
How can I define an array of arrays and pass that variable into a function so I can manipulate it at JavaScript? As like: JSP side:
object.method({ {"#id1",2}, {"#id2",3}...}); ...
var object= { defaults: { ...
i have to pass a array of values to a jsp page. i am using the following jquery function
$.post("add.jsp" ,{'URL_Arr': urlarray}, function (data) ...
I know how to use $.each in my program which is written in Java like this
$.each( ['a','b','c'], function(i, l){ alert( "Index #" + i + ": " + ...