Hi,
I am new to PHP. I wanna know how the button reacts on the click event.
This is my code snippet...
Name: <input type="text" name="fname" />
<input type='button' name='Release' onclick='hello()'
value='Submit'>
<script type="application/javascript">
function hello(clicked)
{
alert(clicked);
return false;
}
</script>
Whenever I click the button, it triggers javascript code but my requirement is, I want to print the textbox value in the same form on server side.
Your suggestions are invited....