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')
- }
- })

Pankajkumar PatelRank #181 · 13.4K reputationPosted Mar 26, 2021, 9:53 AM EDT
Schleid AlexRank #3,087 · 464 reputationPosted Apr 7, 2021, 9:08 AM EDT
Rijwan AnsariRank #82 · 24.2K reputationPosted Apr 8, 2021, 9:53 AM EDT
Schleid AlexRank #3,087 · 464 reputationPosted Apr 8, 2021, 10:30 AM EDT