You can safely use filters, it's not a hack or a workaround, probably your JS is being transmitted as a plain text, tried evaluating the result?
On Aug 16, 4:34 pm, Benjamin Wohlwend <piquad...@gmail.com> wrote: > Hi, > > On Aug 16, 1:58 pm, Charlie <charlie...@gmail.com> wrote: > > > what happens if you load the whole #container div? seems like within the > > AJAX load it is ignoring <script > tag as a child. > > do you mean this? > > $(this).parent().load('/jquery_load/2.html #container'); > > That doesn't change anything. As soon as I define any filter, the > loaded javascript is ignored. BTW, I checked it on all browsers at my > disposal, the same behaviour occurs in all of them: Firefox 3.5, IE8, > Safari 4 and Chrome (Linux daily build). > > Regards, > Benjamin