Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. function filter_data() {
  2. var action = "fetch_data";
  3. var area = get_filter("area");
  4. $.ajax({
  5. url: "your_php_script.php",
  6. method: "POST",
  7. data:{action:action,area:area},
  8. success:function(data){
  9. $(".filter_data").html(data);
  10. }
  11. });
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement