开发者

Is there any equivalent in jquery for prototype serialize()

开发者 https://www.devze.com 2023-01-10 03:21 出处:网络
I am trying to pass form\'s data to jquery ajax request. i find easy way for prototype $(\'formid\').serialize() which will reqtur开发者_如何学Pythonn a string with all elements name and their value i

I am trying to pass form's data to jquery ajax request. i find easy way for prototype $('formid').serialize() which will reqtur开发者_如何学Pythonn a string with all elements name and their value inside that form, ready for ajax request in a handy way. that's easy.

so is there any equivalent in jquery?


Yes it's the same: http://api.jquery.com/serialize

0

精彩评论

暂无评论...
验证码 换一张
取 消