jframe jquery pluging problem with drupal autocomplete

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.

Groups:
Login to post comments

Drupal.attachBehaviors?

markus_petrux's picture
markus_petrux - Mon, 2009-02-02 12:19

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


ahhhhh! that was the

robertgarrigos's picture
robertgarrigos - Mon, 2009-02-02 14:05

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

Robert Garrigós
Professional site: garrigos.cat