views:

10

answers:

0

here's my problem:

i'm using the jQuery dialog for displaying a div with some textboxes inside. that div has my own plugin code assigned like div.myPlugin();

before opening the dialog, i'm initializing that plugin like div.initPlug();

the problem: - when first opening the dialog anything is fine - when closing it and re-opening it, the div has lost its plugin code - i'm getting an error: div.initPlug() is not a function

it seems like the dialog is unbinding code from the div. any ideas how to prevent this?

thx