jQuery serializeArray() all :inputs -
does serializearray() work on input , textarea. how select, checkbox, , radio buttons. need know option selected select box , whether checkbox checked or not. how can info in array.
it should serialize inputs, select, checkboxe etc...i noticed missing names on of elements, why not seeing elements being serialized.
<form> <input type="text" name="name" value="john"/> <input type="text" name="password" value="password"/> <input type="text" name="url" value="http://asd.org/"/> <input type="checkbox" value="test" name="chktest" checked="checked"/> <select name="stuff" id="validateas"> <option value="letnum">1</option> <option value="numbers">2</option> <option value="letters">3</option> <option value="url">4</option> <option value="email">5</option> </select> </form>
something should serialize correctly. here's documentation serializearray()
.
Comments
Post a Comment