The JavaScript string method passes through the nested single quotation marks, and the double quotes are too large. A little confusing.
The correct method is as follows:
' <td align= ' left "><input type=" button "id=" Btnback "value=" OK "class=" BIGBT "onclick=" Continuepassword (\ ' + cardnumber+ ' \ ') '/></td> '
Since the outermost is a single quotation mark, the method uses double quotation marks, and the method parameter is single quotation mark. The beginning of the backslash single quotation mark \ ' is the outermost single quotation mark. then inward. The right side of the parameter is inward, and then the character single quotation mark is externally escaped.
Example two:
Onkeyup= ' if (IsNaN (value)) ExecCommand (\ "" +undo+ "\") '
As above, it's just a single quotation mark, because the outermost is double quotation marks.
JavaScript string Method Pass parameter