Get All html Input form using Jquery

        $("input, select, textarea").each(function() {
            var name    = $(this).attr("name");
            var id      = $(this).attr("id");
            var val     = $(this).val();
           
            console.log("$data['"+name+"']  = $this->input->post('"+name+"');");
        });

Tidak ada komentar:

Posting Komentar