P
P
prefab2014-04-14 12:04:15
JavaScript
prefab, 2014-04-14 12:04:15

Reload jquery ajax content, how?

HTML page. There is an unordered list, in which elements pictures are wrapped. There are a lot of pictures, so it was decided to show 20 pieces, and load the rest at the click of a button. The site uses jQuery v1.10.1 - tell me which library should be used, otherwise I was looking for it - lazy load is all wrong, you need to load it by clicking on the button (link).

Ideally, load the addition into the list from a file located in the same directory as the source file.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Baev, 2014-04-14
@drugoi

In jquery.lazyload there is a trigger for loading by event. For example, on a click, as you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question