Hello Liferay Rockers,
As you all know that Liferay 6.0.X is using AlloyUI framework for GUI.
So here is the code to make ajax call using AlloyUI.
you can write your response in test.html and can write your action on success of ajax call.
A.io.request('test.html', {
on: {
success: function() {
alert(this.get('Jignesh Ajax call is Successful '));
}
}
});
Hope this will helpful a lot !!!!!!!!
As you all know that Liferay 6.0.X is using AlloyUI framework for GUI.
So here is the code to make ajax call using AlloyUI.
you can write your response in test.html and can write your action on success of ajax call.
A.io.request('test.html', {
on: {
success: function() {
alert(this.get('Jignesh Ajax call is Successful '));
}
}
});
Hope this will helpful a lot !!!!!!!!