I some divs with forms inside of them and i do have inputs with same ids but in different divs and forms so do like this:
$("divEdit form #ParentId").val(12);
it works on chrome/mozilla but not on IE8
anybody knows why ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t have multiple elements with the same
idon the same web page. You’ll need to use some other method of identification such as aclass(or with form controls the samename).