Hi there can I get code to get a list dropdown of elements in a form by name and also rename them at the same time thanks
jQuery('#myForm select[name=foo]').each(function () {
jQuery(this).attr('name', 'bar')
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With