Open julianpring opened 7 years ago
@pklauzinski Any ideas?
Would just leave it here:
$("#yourModalName .modal-body").scroll(function () {
if($(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight) {
$('.pagination').last().find('li.active + li a').click()
}
});
I want to add jscroll to a Bootstrap modal, however, I can't seem to find a way to implement it.
Here is a JSFiddle I started:
http://jsfiddle.net/DTcHh/33284/
What would the jscroll JS look like to implement jscroll in the modal?
Additionally, is it possible to return a JSON response in a different format, and grab the HTML from one of the properties and append it to the modal? For example, if I had a response that looked like:
Thanks,