May 25, 2021 12:26 PM|mgebhard|LINK
on the page ( not the partial view ) user has a list of items & the ability to submit a form(boostrapModel) base on an id of the item ,after the form is submit , i need to load the partial view with the new item into a div in the page that is fit to the original
item (+- like comments to a post on facebook) .
I don't use Facebook so I'm not sure you're trying to do but the code you've shared does not show how OfferId is populated.
Or are you referring to Id??? If so where does "id" get initialized???
$(".modal").attr("id", "r-" + id);
The code you've shared has a lot of issues which makes understanding the intent difficult. What is the intent of the empty POST? Why do you have nested AJAX calls? What is the form configured as an AJAX form?
At this point I recommend basic debugging and single stepping through the code. Most likely your intension does not match what the code actual does. If you single step through the code you'll be able to identify where the code stops working as you expect.