g105b/PHP.Gt — Issue #18: DOM auto-value function
Author: g105b
Created: 2012-01-30 19:21:54+00:00
State: open

The main DOM object needs to have a function that takes a database result or associative array and loops over all elements, assigning their values according to the assoc array's key-value-pair.

The function should also take into account different Dom element types and provide their values accordingly I.e. a textarea should have its innerText set, where as an input should have its value attribute set.