Hello I'm trying to solve this -
I have several forms on page and need to be sure that all of them have
input id, some of them already have it some of them not, how to get
the form where I need to add an input?

I tried to get the forms which have this input
$(document).ready(function() {
     $("form [EMAIL PROTECTED]'id']").each(function(j){
         alert($(this).attr("name")+ $(this).attr("value"));
      });
});

but I need somthing like this
$(form).each(function(){
 /*  $("input there is no id").each(function(){create input})*/
})

thanks for help
Radek

Reply via email to