I'm new to jQuery (I want to use it AJAX, JQuery, PHP)
I am trying to dynamically populate the checkbox from the database.
I have a drop I want to query the database based on the selected option, and depending on the record set I want to display the checkbox dynamically.
Any suggestions
& lt; Script & gt; $ (Function () {$ ("# softwareapp"). Change (function () {if ($ (this) .val ()> gt}} {var app_id = $ ('# softwareapp'). Val (); $ .axx ({type: "post", url: "& lt ;? php echo base_ url () ;? gt; axax / gate_softwareupption /" + APIID, data: {paid = $ (this) .val () }, Success: (Var i = 0; i & lt; data.length; i ++) {$ ("& lt; tr & gt; & lt; / (" & lt; td & gt; & lt; td & Gt; & lt; / td & gt; ") .HTML ("
Comments
Post a Comment