Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sort() {
- var jsonData = $.ajax({
- url: "your_php_function.php",
- dataType: "json", // or whatever you like
- data: { "variable_sort" : "high_price" } // is converted to a query stringand appended to the url for GET-requests
- async: false
- }).responseText;
- return jsonData;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement