betheball
04-21-2005, 05:05 PM
Is there a difference between:
if(document.formname.checkboxname.checked==true){
alert("hello world")
and
if(document.formname.checkboxname.checked){
alert("hello world")
Second, in ASP, one can open a script with simply, "<%" and close with "%>"
Is there a similar shortcut for javascript as opposed to:
<script type="text/javascript" language="javascript"></script>
Just curious
if(document.formname.checkboxname.checked==true){
alert("hello world")
and
if(document.formname.checkboxname.checked){
alert("hello world")
Second, in ASP, one can open a script with simply, "<%" and close with "%>"
Is there a similar shortcut for javascript as opposed to:
<script type="text/javascript" language="javascript"></script>
Just curious