Steven_Smith
08-16-2002, 07:42 PM
This is a simple script. All I am doing is that if the user clicks on form 'test' form 'mod' has a value changed. I can't see why its not working in ie6 windows...
<script>
function mod(){
document.mod.mod.value="1";
}
</script>
<form name="test" onClick="mod()">
<input type="text" name="a" value="a"> <!-- when the user clicks here -->
</form>
<form name="mod">
<input type="text" name="mod" value="0"> <!-- THIS value changes to 1 -->
</form>
Thanks for any help :thumbsup:
<script>
function mod(){
document.mod.mod.value="1";
}
</script>
<form name="test" onClick="mod()">
<input type="text" name="a" value="a"> <!-- when the user clicks here -->
</form>
<form name="mod">
<input type="text" name="mod" value="0"> <!-- THIS value changes to 1 -->
</form>
Thanks for any help :thumbsup: