Can anyone properly tell what I am doing, I am trying to make a php call when A selected value changes.
The information from the code php file is not echoed.
JQUERY CODE
// Sort sort on change $ ('# order_by' '(' change ', function () {$ .ajax ({type: " Post ", url:" sort_skill_be.php ", data: {skill: this.value}} done (function (result) {Console.log (result)})}); PHP code
Thanks for the help and time!
EDIT: This works right now, thanks for all help! < P>
come to it Note: $ ('change', function () {var sk = $ (this) .val (); $ .ajax ({type: "POST") ", Url:" sort_skill_be.php ", data: 'skill =' + sk, success: work (results) {warning (result);}});});
No comments:
Post a Comment