Difference between revisions of "JavaScript functions v1.0"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
(Created page with " == Builtin functions == === Handling form values === * getValue(name) * setValue(name,value) * getDecimal(name) === Toggling fields === * hideField(name) * showField(...")
 
old>Admin
Line 3: Line 3:


=== Handling form values ===
=== Handling form values ===
 
Display values are handled using standard getter and setters
* getValue(name)  
* getValue(name)  
* setValue(name,value)  
* setValue(name,value)  


* getDecimal(name)  
For explicitly getting a value (or ID) use
* getDecimal(name)


=== Toggling fields ===
=== Toggling fields ===

Revision as of 15:08, 6 January 2021

Builtin functions

Handling form values

Display values are handled using standard getter and setters

  • getValue(name)
  • setValue(name,value)

For explicitly getting a value (or ID) use

  • getDecimal(name)

Toggling fields

  • hideField(name)
  • showField(name)


  • hideFieldForPageClass(name)
  • showFieldForPageClass(name)


  • hideFieldForStatusId(name)
  • showFieldForStatusId(name)


Other sources

JQUERY / SCRIPT CHEATSHEET HACKING DEPENDENT VALUES