I have a div with ID as MQ , i have to get the values of textbox and textareas within this div id MQ using JQuery foreach . i have tried following , but no results.
$('div#MQ :text,textarea').each(function(){
$('div#MQ input[type="text"],textarea).each
kindly let me know your suggestions.
Try something like this: