jframe jquery pluging problem with drupal autocomplete

Events happening in the community are now at Drupal community events on www.drupal.org.
robertgarrigos's picture

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.

Comments

Drupal.attachBehaviors?

markus_petrux's picture

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

ahhhhh! that was the

robertgarrigos's picture

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