I have a div with the identifier MQ , I need to get the values of the text field and text fields inside this div id MQ using jQuery foreach . I tried to follow but no results.
$('div#MQ :text,textarea').each(function(){
$('div#MQ input[type="text"],textarea).each
kindly tell me your suggestions.
source
share