I have an iframe on my domain that I would like to get the attribute for each input field. I am using something like the code below but obviously it’s not working. Any help with modified code would be appreciated. Thanks.
$('#iFrame_Id').contents().find(function() {
$("#Their_Form :input").each(function(){
var name = $(this).attr("name");
}
});
1 Answer