HTML element with variable

Ryaan

New Member
In jQuery I can create a HTML element with data:\[code\]$('<button></button>').data("field", { i: i, j: j }).appendTo("body");\[/code\]Can I create in HTML so?
 
Back
Top