Class YInput
Defined in: YInput.js.
Constructor Attributes | Constructor Name and Description |
---|---|
YInput()
form dom elements handlingNot instanciable.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
YInput.get(parentId)
return an indexed list of all dynamics elements founds in parentId by their id.
|
<static> |
YInput.getList(parentId)
return a list of all dynamics elements founds in parentId.
|
<static> |
YInput.getSubmitted(parentId)
return an indexed list of all dynamics elements values in parentId by their name as in php for $_POST or $_GET.
|
<static> |
YInput.getValue(inputId)
|
<static> |
YInput.makeInputs(dataList)
|
<static> |
YInput.makeSelect(dataList)
|
<static> |
YInput.setValue(target, value)
set a dynamic element value.
|
<static> |
YInput.setValues(inputValues)
set a dynamic element list values.
|
Method Detail
<static>
{array}
YInput.get(parentId)
return an indexed list of all dynamics elements founds in parentId by their id.
- Parameters:
- parentId
- {domElement/string} the root node
- Returns:
- {array}
<static>
{array}
YInput.getList(parentId)
return a list of all dynamics elements founds in parentId.
- Parameters:
- parentId
- {domElement/string} the root node
- Returns:
- {array}
<static>
{array}
YInput.getSubmitted(parentId)
return an indexed list of all dynamics elements values in parentId by their name as in php for $_POST or $_GET.
- Parameters:
- parentId
- {domElement/string} the root node
- Returns:
- {array}
<static>
YInput.getValue(inputId)
- Parameters:
- inputId
<static>
YInput.makeInputs(dataList)
- Parameters:
- dataList
<static>
YInput.makeSelect(dataList)
- Parameters:
- dataList
<static>
YInput.setValue(target, value)
set a dynamic element value.
- Parameters:
- target
- {domElement/string} target element node or id.
- value
- {string/number/boolean}
<static>
YInput.setValues(inputValues)
set a dynamic element list values.
- Parameters:
- inputValues
- {indexed array} target element values by their id.