I want to add divs after every input in my form:
$("#step1 .left input").after("<div class='form_valid' id='form_valid_" + $(this).attr('id') + "'></div>")
but all generated divs have id = "form_valid_undefined". I dont know why becouse every input have an id.
thisdoesn't refer to theinputelements.