/ Published in: jQuery
// How to use variables
// within jQuery selectors
// within jQuery selectors
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("input[name='element" + myVar + "']");