views:

56

answers:

0

Hi all, I'm totally stuck trying to find a way of moving the imagefield preview of a Drupal 6 cck form to another div on the page.

The desired process using a cck form and some javascript: click browse, click upload, imagefield widget uploads the file then creates a an image preview. Once this is done I need to triger a javascript function.

The moving isn't the problem but i can't find a way of triggering a javascript function when the imagefield has finished uploading. I've tryed .change() on the #wrapper but this will only fire the once as I guess the entire div is replaced in the process of uploading so it looses the listener.

Hope it makes sence... and any idea??

Many thanks!

jJ