Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".check_update").change(
- function(){
- $.ajax(
- {
- type: "POST",
- url: "/_include/update.php",
- data: "player_id=95¶meter="+this.getAttribute("name")+"&value="+$(this)[0].value,
- success: function(result){
- if(result != 1){
- alert('update failed');
- console.log(result)
- }
- },
- dataType: "tinyint"
- }
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement