A simple string onclick trigger problems

'<TD class = "TD-Manage">' + 
'<Button the onclick = "ChangeState (\' '+ Demo [I] [0] [. 1] +' \ ');">' + 'Confirmation' + '</ Button>' +
'</ TD>' +

code, the onclick function inside splicing is to be noted, required by the following
(\ '' + Demo [i ] [0] [1] + '\') 
quotation mark ring up, in order to trigger onclick function.
Leaving a small hole record, after the backup.

Guess you like

Origin www.cnblogs.com/EarlyBridVic/p/12203812.html