var input = $("<input />").attr('id', elementId).attr('name', elementName);
I am creating input as above and then adding it to parent.
All browsers working ok
but in ie7 there is no name attribute for above input it creates submitName attribute instead.
And jquery validator do not like when there is no name.
Why is it changing name of attribute to submitName from name?