| Page 1 of 1 | [ 4 posts ] |
|
Can someone help me with getting the value of form's Node
the form is object Node I need to get the textarea which is the element with name 'mbody' This does not work: form.get('elements').get('mbody'); What is the correct way to get one input element from the form? |
|
Try form.one("textarea[name=mbody]").get("value");
|
|
Ouch! This works, but I would have never guessed to do it this way.
|
|
There are also a few good form utilities in the Gallery. Check out (at least) AlloyUI's Form Validator (http://yuilibrary.com/gallery/show/aui-form-validator)
|
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group