19,689
Loading...
Uploader Comments (optikalefxx)
Top Comments
-
you just saved a man's life here.. bless ya soul
Video Responses
This video is a response to jQuery For Absolute Beginners
see all
All Comments (16)
-
Thank you for sharing, I love code videos!
-
you can get all the data from a form using the JQuery function serialize() check it out in the documentation
-
Real neard.
--
But good video.
-
thank you - great vid
-
Nice :) This video was actually still useful to me though, as I learned jQuery first from a book and skipped this whole step. It's good to look back and understand/appreciate.
Loading...
you can get select/dropdown value using:
var value = $("#mySelect :selected").val();
miteshsura 2 years ago 3
@miteshsura yep
optikalefxx 2 years ago
I think you are potentially looking for the 'serialize' function inside of that jquery function in order to get the values you want, no? like,
var mydata = $('#myform').serialize();
serialize would be grabbing all your inputs within the form and putting them into one nice variable you can punch out quickly.
spadict 2 years ago
Your right. I discovered it last week lol. I'm making a video on it soon for my store.
optikalefxx 2 years ago