What does this function means.

contentEl : 'av',

thanks!

Recommended Answers

All 2 Replies

It is not a function and on its own it means nothing.

The only thing similar to this, is when I set the data option when making an ajax call with jQuery.

http://malsup.com/jquery/form/

Thanks javaAddict , I google this topic and it says

•renderTo renders the Component into the specified existing element.

•applyTo uses the specified alement as the main elementof the Component. A Component created using applyTo does not need rendering - its main element already exists.

contentEl is only for Panels. It simply moves the specified element into the body of the Panel when the Panel is rendered to use... as the content!


Im currently using contentEl to transfer the content of the panel to a popup window, now my problem is how to transfer it back when I close the popup window :(

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.