Created
November 18, 2015 09:24
-
-
Save mahmut-gundogdu/aed7cd1439a7bdc42bc6 to your computer and use it in GitHub Desktop.
Form datasını jquery ile javascript objecte (dolayısı ile istersek json a) dönüştürmek. Special thansk for http://stackoverflow.com/a/17784656
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var formData = {}; | |
$(".form-secici").serializeArray().map(function (x) { formData[x.name] = x.value; }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment