Hi,
I have this jquery ajax function going like this I need to pass the area in the Url can some help me out
- $.ajax({
- url: 'Delete',
- dataType: 'html',
- data: { id: PrID },
- type: 'POST',
- success: function () {
- alert('Record successfully deleted')
- location.reload()
- },
- error: function (data) {
- alert('Error deleting data')
- }
- })