jframe jquery pluging problem with drupal autocomplete

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by robertgarrigos on February 2, 2009 at 11:46am

I'm facing a problem related to the use of the jframe jquery plugin (http://plugins.jquery.com/project/jframe) along with the autocomplete javascript in Drupal.

I'm using jframe to load some frames within a drupal page and in one case one of the frames loads a drupal form which contains an autocomplete field. That form element doesn't work properly. However, the same form loaded within another frame from the beginning works fine.

I've no idea where to begin to look for the problem. Any help will be very much appreciated.

Categories: ,

Comments

Drupal.attachBehaviors?

Posted by markus_petrux on February 2, 2009 at 12:19pm

Have you tried executing Drupal.attachBehaviors(new_content); from the onload related callback of the frame?

ahhhhh! that was the

Posted by robertgarrigos on February 2, 2009 at 2:05pm

ahhhhh! that was the mistake. Thanks sooooo much Markus!! (I need to learn so many things.....)


Robert Garrigós
Professional site: garrigos.cat


Robert Garrigós
Professional site: garrigos.cat

Javascript

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /