I have a button:
Continue
Try one of the following:
$(this).attr(example_id, "value")
Or
window[ currForm.attr(id)] = 12;
window[ this.id ] = 12;