arequests creates an anchor object representing AJAX request to load elements of the document dynamically

arequest(txt, target, where, ..., attr = "")

Arguments

txt

text (or any HTML content) inside the anchor

target

URI to load

where

name of the element (usuall a div tag) load the new content into

...

additional parameters to the request

attr

additional attributes for the anchor

Value

Returns an object that can be added to the HTML document.