Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var price = "10.99";
- $.ajax({
- type: "POST",
- url: "some.php?action=updateprice",
- data: "price="+price,
- success: function(data) {
- alert("HELL YEH, IT WORKED");
- },
- error: function(data) {
- alert("OHHH NOO!!!");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement