chernikovalexey/Prevel — Issue #18: Consider adding .value() method to Dom module
Author: johnarleyburns
Created: 2012-02-04 16:57:09+00:00
State: open

Many times I'm putting .attr('value') and .attr({value: 'foo'}) on form items. A helper method would be useful such as:

.value() => .attr('value')

.value(foo) => .attr({value: 'foo'})

Consider it as it would make code dealing with form items less verbose.