undefinedfix
Sign in

The HTML event only executes one line and jumps out

ThinkTrans edited in Fri, 11 Nov 2022

QQ图片20191226162704.png

var element = whichform.element [i] When it is executed in this line, it will jump out directly, and none of it is executed below

Reset fields (this form); jump out here (all not executed below), and then jump directly to other events when the page is loaded

===========================================================

)RM9E{4_H)5CQAQY~J9HA~Y.png
9A2Y%$H}5LD]1]ZB_TZ(`JE.png
HW3VUJ1~[{V70F8`T[QQRDR.png

The content returned by regularization is null, and the requested file is obtained directly from the action attribute of the form. It should be true, and regularization is OK. Why is null

2 Replies
twojold
commented on Fri, 11 Nov 2022

There is less s below

Smit
commented on Fri, 11 Nov 2022

Is it. Elements? When you traverse, it is whichform.elements.length There's an s missing in the back