I tried that and it did *NOT* work with *Web2Py Components* 
<http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax>
 
โ€”ยป 
*http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax*

But it does work well on normal HTML Forms submission.
So, are you sure that it worked for you with Web2Py Components 
<http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax>?
 
If so, then I am doing something wrong.
*(And do you really know about Web2Py Components 
<http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax>
 as 
I am referring to here? Please click the link to know what exactly I am 
referring to by Web2Py Components 
<http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax>.
 
That will give you a better idea of what I am trying to do, and also, what 
I might be getting wrong as well.)*

Thanks a lot โ€“ for the code! Now, make it work with *LOAD()* โ€“ that is what 
I am trying to do.

 



On Wednesday, 17 February 2016 08:37:27 UTC-5, Javier Pepe wrote:
>
> Hello
>
> This work for me:
>
> Controller:
> def textarea():
>     form=FORM('Texto:',
>               TEXTAREA(_name='texto', 
> requires=IS_NOT_EMPTY(),_id='mytextarea'),
>               INPUT(_type='submit'))
>     return locals()
>
> View:
>
> <script src='//cdn.tinymce.com/4/tinymce.min.js'></script>
>   <script>
>   tinymce.init({
>     selector: '#mytextarea'
>   });
>   </script>
> {{extend 'layout.html'}}
> {{=form}}
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to