st3ph / jquery.easyPaginate

jQuery plugin to paginate anything with cool effect (or not)
MIT License
45 stars 74 forks source link

pagination based on div with classname? #11

Closed bashfulrobot closed 6 years ago

bashfulrobot commented 6 years ago

Is it possible to somehow use a div with a particular class as the "paginateElement"?

Thank you.

bashfulrobot commented 6 years ago

I should have included a little code snippet...

Could I specify:

paginateElement: 'div.classname'
st3ph commented 6 years ago

Yep offcourse, did you try it ?

bashfulrobot commented 6 years ago

Yup - without success. Once I get back to the computer that has the cone I'll post it here.

naveed-iqbal1 commented 4 years ago

I should have included a little code snippet...

Could I specify:

paginateElement: 'div.classname'

I have set paginate element property with the above mentioned format but no success. Can you please help me on this?