PDA

View Full Version : Javascript within AJAX


Digital Jedi
12-12-2008, 07:02 PM
Right now I have some postbit modifications that use a javascript file to create dynamic tab content. Works fine under all conditions except when a post is made via quick reply or when edited inline. The tabs are not created when AJAX is used like this and I presume that means the javascript file can't be reached.

Not sure what details exactly to give, so I set up a demo thread where you can see what I mean. http://www.cogonline.net/forums/showthread.php?p=370267#post370267

Login as Test, password is test. Make a post in that thread or edit via AJAX and you'll see what I mean.

The Javascript is not really within the tabs area, it's referenced in the headinclude.