[jQuery] Re: Ajax load, and bad javascript

2008-05-15 Thread Karl Rudd
"Active content" is just a term I made up, as I said it's pages with "HTML _and_ JavaScript", mixed together. Loading in things via AJAX is a very different environment to the usual "load a page in the browser, run the JavaScript" scenario. Many scripts aren't built to cope with this. If you need

[jQuery] Re: Ajax load, and bad javascript

2008-05-15 Thread hubbs
Hi Karl, Can you explain what you mean by "active" content. And what you meant by loading in the js and html seperatly? I am not sure how this would be possible with a WYSIWYG editor that is heavy on js. I have an example, but I don't really want to publicly post the URL. > My advice is don't

[jQuery] Re: Ajax load, and bad javascript

2008-05-15 Thread Karl Rudd
It's probably the way, or "when", the editor's JavaScript code is run. Without looking at the page(s) in question it's almost impossible to diagnose exactly why. My advice is don't use AJAX to bring in pages of "active" content, that is HTML _and_ JavaScript. There's lot's of issues you'll have t