asked on
For a form element's value to be included in the serialized string, the element must have a name attribute.But in your case, you are serializing the value of the id attribute of the target element. What do you expect the serialize function to return in this case?
jQuery (Core) is a cross-browser JavaScript library that provides abstractions for common client-side tasks such as Document Object Model (DOM) traversal, DOM manipulation, event handling, animation and Ajax. jQuery also provides a platform to create plugins that extend jQuery's capabilities beyond those already provided by the library.
TRUSTED BY