Hey guys, I have this simple code that speaks for itself.Here it is:
enter code here
<script language='javascript">
function check() {}
</script>
<div id="a">input type="text" name="b">
<input type="button" onClick=" check(); ">
All i want is that when i press the button, the text field gets a value updated to it.
i tried using b.value=" C " but it doesnt seem to work.
Please advise. Any help will be appreciated.
Thanks.