I'm a bit newbie in scripting, but i'm trying to learn by myself
. Hope you can help me with this
I have two main pages, called index.html
. Both pages loads a third page called news_content.html
, using AJAX function load.
This third page has a pagination script, but the pagination has to be different if the page has been loaded from index.html or news.html (for example, the max items per page has to be different). The pagination settings are defined inside news_content.html.
How can I know, from the content page, with one has loaded it? Or... its possible to pass values from the main pages into the content page, in order to change the pagination settings?
Thanks in advance!