in reply to Re^4: W-M-F and event.keyCode===keys.ENTER
in thread W-M-F and event.keyCode===keys.ENTER
I'm not sure why ->set_nasty_value would be sp special, but I can see that adding a modification of ->field() which does take a plain DOM node instead of a field name would be convenient. The routine would reduce to
sub set_nasty_value { my( $self, $dom_node, $value )= @_; $self->get_set_value( name => $dom_node, value => $value ) }
... so maybe just call it that way directly.
I think I should document that part of ->get_set_value a bit better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: W-M-F and event.keyCode===keys.ENTER
by pghilb (Novice) on Jul 27, 2014 at 10:46 UTC |