All necessary JavaScript code is printed to the client. This function call should only be issued once in a script, otherwise JavaScript errors might occur.
Tags:
return:
PRAjax client script in a string
access:
public
Parameters:
boolean
$pEcho
True/false if you want to echo the script or put it in a variable. Defaults to "echo".
Set to true/false if you want PRAjax to display a busy message on the client-side. Optionaly, specify the busy message and/or DOM element id to display the status in.
Tags:
access:
public
Parameters:
boolean
$pShow
True/false if you want to show the busy message
array
$pMessage
String containing the "busy" message
string
$pStatusId
DOM element to display the status in (default: 'prajax_status')