How Can I Show Data Into Bootstrap Panel Dynamically By Javascript?
How can show data into bootstrap panel dynamically when i click any panel?When i clicked each of a panel that data showed only into first panel. index
Solution 2:
It's because you are injecting the response of the ajax call into the div with the id of file, which will always add it to that first panel. Try adding a class to the file div which is constructed from the id and then inject into that element instead. something like...
<div class="file_@item.Id"></div>
and then do
$(".file_" + id).html(response);
in your success callback
Post a Comment for "How Can I Show Data Into Bootstrap Panel Dynamically By Javascript?"