nsteja1
04-16-2010, 01:04 PM
hey guys!
i was trying out some form submit ajax code. It goes like this.
A Blank box is there. Clicking a link updates the blank box content to contain a form and a javascript. A PHP file gives the responsetext.
response text is something like this:
<div>
.
.
.
</div>
<script>
onsubmit event handler.
</script>
but it is not working. It is as if on submitting the onsubmit handler is not getting activated.
Help plz!! :confused: :eek:
i was trying out some form submit ajax code. It goes like this.
A Blank box is there. Clicking a link updates the blank box content to contain a form and a javascript. A PHP file gives the responsetext.
response text is something like this:
<div>
.
.
.
</div>
<script>
onsubmit event handler.
</script>
but it is not working. It is as if on submitting the onsubmit handler is not getting activated.
Help plz!! :confused: :eek: