| Page 1 of 1 | [ 2 posts ] |
|
Some time ago I asked how to get the value of the text editor by yui ajax and showed me this site:
http://www.jsrosettastone.com/ (rosetta stone) So I tried to get the value so it does not work: var body = YUI (). use ("test", function () { test: function () { return $ ("# editor.") get ('value'); } }); "editor" is the id of my text area. I can not understand the syntax, and the correct way to do this. Help me, this is very important for my project. Excuse me my English, not speaking native. |
Alberto SantiniYUI Contributor
|
Hello Tiago.
Y.one("#foo").get("text"); A working example: http://jsfiddle.net/fHYEp/ Hope that helps, IceBox P.S.: An example with the textarea: http://jsfiddle.net/fHYEp/1/ A few references: http://yuilibrary.com/yui/docs/node/ http://yuilibrary.com/yui/docs/event/basic-example.html |
| Page 1 of 1 | [ 2 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