Sar975
asked on
Ajax accessing javascript in an xmlhttprequest using a jsp
Is it possible to have an xmlhttp request
url = "test.jsp"
http_request.open('POST', url, true);
contact a jsp which then invokes some javascript for onclick on that jsp body onload
//test.jsp
<html>
<body <body onload="document.forms[0]. test.click ()";>
<form>
<input type="button" id="test"/>
</form>
</body>
</html>
I am trying to get some dynamically generated forms on a jsp to submit automatically through an ajax request if possible.
url = "test.jsp"
http_request.open('POST', url, true);
contact a jsp which then invokes some javascript for onclick on that jsp body onload
//test.jsp
<html>
<body <body onload="document.forms[0].
<form>
<input type="button" id="test"/>
</form>
</body>
</html>
I am trying to get some dynamically generated forms on a jsp to submit automatically through an ajax request if possible.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.