var val=$('input[name=myname]')// matches exactly 'myname'
alert(val);// will give a alert message "hi"
$('input[name^=myname]')// matches those that begin with 'myname'
edit | flag
Askamoeba Member Answered on: Jan 29, 2012 at 4:39AM
Post your Answer
Welcome to Ask Amoeba! This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions. Learners, beginners, Experts stop and share your knowledge and ideas!