试题详情

在JavaScript中,以下代码可以用哪种简写方式书写? <script?type="text/javascript"> ? function?check()?{ ? ? event.returnValue=false; ? } ? </script> <form?action="info.html"?onSubmit="check()"> ? <input?type="submit"?value=" 提交 "/> </form>

A<form?action=“info.html”?onClick=“return false”>…</form>

B<form?action=“info.html”?onSubmit=“return false”>…</form>

C<form?action=“info.html”?onSubmit=“false”>…</form>

D<form?action=“info.html”?onClick=“false”>…</form>