As you guessed, if you send html via an ajax call (which is what happens when you inline update) and use it to set the html of an element, any javascript will not get executed. If you can arrange to have your own js function called when the update is received, and you can find the js code in question, you could call eval() on it (the js eval() function of course, not the php one). Someone else asked about this recently and I couldn't see an obvious way to do it without going in and editing the vb js code, but I'm not a js expert so there may be a way.
|