API Docs for:
Show:

getSetHtml Class

Defined in: simple.mvc.js:1143
Module: MVC

Get or set HTML (DOM) values

Inspired by formParams: http://jquerypp.com/#formparams

Item Index

Methods

getSetHtml

(
  • params
)
Object

getSetHtml

Get or set HTML (DOM) values. If you pass this method any parameters it will try to set the HTML. Otherwise it will try get the HTML values from the view.

Parameters:

  • params Object

    Object literal with keys that correspond with either an ID or NAME attribute of an element in the View (DOM).

Returns:

Object:

Object literal with data from the View (DOM).

getSetHtml

(
  • params
)
Object

Defined in simple.mvc.js:1153

getSetHtml

Get or set HTML (DOM) values. If you pass this method any parameters it will try to set the HTML. Otherwise it will try get the HTML values from the view.

Parameters:

  • params Object

    Object literal with keys that correspond with either an ID or NAME attribute of an element in the View (DOM).

Returns:

Object:

Object literal with data from the View (DOM).