Hello All,
My program recuperate a complete HTML FORM from a ajax function.
Within this code, there are a javascript code to set the focus on the right field.
All html form and javascript code was transfered correctly but are never executed.
here an example of :
at the start, "ajaxform" div is empty until ajax populate.
How can I execute Javasript back from a ajax call ?
Thank you
Harry
My program recuperate a complete HTML FORM from a ajax function.
Within this code, there are a javascript code to set the focus on the right field.
All html form and javascript code was transfered correctly but are never executed.
here an example of :
Code:
<div id="ajaxform">
<div id="myform">
<form>
....
</form>
<div id="ajaxscript">
<script type="text/javascript">
document.myform.object.focus();
</script>
</div>
</div>
</div>
at the start, "ajaxform" div is empty until ajax populate.
How can I execute Javasript back from a ajax call ?
Thank you
Harry