Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fetch_category(element,taxtype) {
- var term_id = element.val();
- var args = {
- type: "POST",
- dataType: 'json',
- url: "/fetchboard/tax_ajax.php",
- data: {
- id: term_id,
- tx: taxtype
- }
- };
- jQuery.ajax(args).success(function(response){
- alert(JSON.stringify(response))
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement