I want to retreive the html code of a form in order to send it on submit. For inputs and textarea, I can retreive the contents with:
$('input').attr('value', function() { return $(this).val();});
For select items , how I must process? thank you,
I want to retreive the html code of a form in order to send it on submit. For inputs and textarea, I can retreive the contents with:
$('input').attr('value', function() { return $(this).val();});
For select items , how I must process? thank you,