I have a form loaded with table values from database. The form is embedded in php page because it is coming as result of AJAX request. I want to update the data in the same form and return to the table in database.
the process is working overall. But when i want to copy textbox value to another textbox using javascript its not working.
even a simple alert not working.
i try to use the javascript functions as follows
echo "<button type='button' onclick='alerting()'>Testing Script</button>";
//echo "<button type='button' onclick='alerting();'>Testing Script</button>";
<script type="text/javascript">
function alerting(){
alert("dfdgfg");
}
</script>
This one even not working. i tried with the above commented one too.
Please help me in this...