Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url: url,
- type: 'post',
- data: {
- view_display_id: v_display,
- view_name: v_name,
- // view_args: {}, // your views arguments
- view_args: v_args,
- },
- dataType: 'json',
- success: function (response) {
- if (response[1] !== undefined) {
- return response[1].data; // do something with the view
- }
- }
- });
Add Comment
Please, Sign In to add comment