appendPage
AppendPage is a planned API function but it has not been implemented yet. However, with some tweaking of the existing API functions, we can have one already implemented in JPAL.
jpal.appendPage(page,data,handler,locked,hidden,note);
page is the name of the page
data is the text data
handler is the function receiving the return (optional)
locked, hidden, and note are extra options, exactly the same as in addPage (optional)
The function uses getPage to receive the current data and changePage to append the new data. If the page does not exist, it will just try to addPage instead.
Example:
jpal.appendPage('FrontPage','---nA footer by me');
Comments (0)
You don't have permission to comment on this page.