jQuery casting Objects

2.5k Views Asked by At

i have a jQuery Object but need it to be a jHtmlArea Object. jHtmlArea is derived from jQuery so it should work theoreticaly - but i haven't found anything on this topic.

I know i can cast from javaScript Object to jQuery and back but not how to cast to a specific object.


UPDATE:

Found this very usefull and now made it work with a workaround for jHtmlArea at least. See the solution here.

1

There are 1 best solutions below

3
On

You have read

http://pietschsoft.com/post/2009/07/21/jHtmlArea-The-all-NEW-HTML-WYSIWYG-Editor-for-jQuery.aspx

Right?

It should be as easy as

$("#myTextBox").htmlarea();

BTW, there is no custom object-element type for an htmlarea-ized jQuery object. You simply manipulate them with .htmlarea({/*My parameters here*/}