You have a form on your page:

  <input type="text" name="input" value="val1" id="input">
  <textarea name="textarea" rows="8" cols="40">val2
How can you get the result of form values serialized as arrays?
The serializeArray() method creates an array of objects (name and value) by serializing form values. You can select one or more form elements (like input and/or text area), or the form element itself.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Зарегистрируйся сейчас
или Подпишись на будущие тесты