We have two divs:How to select all the input field as an array with name="divText" that are inside "div2".
//Body of div1
//Body of div2
Answer
Use Attribute Equals Selector [name="value"] along with ID Selector (“#id”). There is error in your html the closing quote of div id div1 and div2 is missing as well.
id
div1
div2
Live Demo
$('#div2 input[name="divText"]')
In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...
No comments:
Post a Comment