When calling a JavaScript function what does the return value do to an input form field? For example:
<script type="text/javascript">
function foo()
{
return true;
}
</script>
<input type="text" id="txt1" onkeyup="return foo()" />
and variations, IIRC onkeyup="foo(); return false"
I don't really need a return time, what's the easiest way to do this?
Right now I'm trying to call multiple functions from one event and not sure what the appropriate way is:
<input type="text" id="txt1" onkeyup="return foo1(); return foo2();"
or
<input type="text" id="txt1" onkeyup="return foo1()" onkeyup="return foo2();"