Altering the HTML of page length
Altering the HTML of page length

Hi, anyone has an example or can link to a page where I can find out more about modifying the HTML around the page length?
I want to insert some div's around it etc. So I was wondering if there is someone who has done this, or got any examples?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I think the
dom
option is what you are looking for.Kevin
I am using the dom option, but I was looking for a way to not have the "Per page" text inside the select, and rather place it somewhere else. Is this doable? Or should I modify it with JS in some callback instead?
I'm not sure what it would take to modify the page length input. I wonder if it would be easier to create your own then use the
page.len()
API to set the length.Kevin
Oh cheers, that's a good shout! Managed to get something satisfactory working, but might try that solution
Thank you for your help.