AJAX POST GET Form With Multiple Checkbox, Radio, Select Option
This simple tutorial will cover how to sending form using AJAX in GET action. So why you choose GET than POST action? The answer is, when we sending data using AJAX in POST action we always send data with TRUE condition. Example if you want to send form with checkbox that confirm client male or female, with this method you always get first option, male. Maybe with advanced javascript can cover it but we need a simple way. Right? Check demo application in Universal Ajax Link Checker.
So i choose GET action to send data to server and send back to client. It will check any input tag like checkbox, radio, or select option dropdown condition. Example if checbox was checked so it will send to server but if not, it will not send to server. So is this only work in input tag? how about textarea? It will work on all part of form as long you defined ID so AJAX can handled it and define in AJAX script what ID must be send to server.