I've downloaded some samples of AJAX and they are working fine.
Now I'm starting to modify these source codes to create some classes for my future WEB-Based Projects.
I'm having problem in passing parameters.
HTML file:
Javasript file:HTML Code:...<form action="javascript:get(document.getElementById('myform'), 'post.php');" name="myform" id="myform">...
I've put the alert(targeturl); to check what is the problem and the value of targeturl returns the value: undefined instead of 'post.php'.Code:function get(obj, targeturl) { var getstr = "?"; alert(targeturl);...
What is the problem with my code?
Thanks for immediate responses.![]()




Reply With Quote