API DOCS

DOCS & TUTORIALS » API DOCS » xajax_core » xajaxRequest.inc.php » xajaxRequest » setParameter

Function: setParameter


function setParameter()

Parameters:

nParameter
(number) The index of the parameter to set

sType
(string) The type of value

sValue
(string) The value as it relates to the specified type

Note:

Types should be one of the following XAJAX_FORM_VALUES , XAJAX_QUOTED_VALUE , XAJAX_JS_VALUE , XAJAX_INPUT_VALUE , XAJAX_CHECKED_VALUE .
The value should be as follows
XAJAX_FORM_VALUES - Use the ID of the form you want to process. XAJAX_QUOTED_VALUE - The string data to be passed. XAJAX_JS_VALUE - A string containing valid javascript (either a javascriptvariable name that will be in scope at the time of the call or ajavascript function call whose return value will become the parameter.


 



XAJAX on SourceForge.net
Support this project Valid XHTML 1.0 Transitional