[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - How to enable embeded Javascript from Ajax response
Page 1 of 1

How to enable embeded Javascript from Ajax response

PostPosted: Tue Dec 05, 2006 10:00 am
by gdelamarre

PostPosted: Tue Dec 05, 2006 10:43 am
by Batalf

PostPosted: Tue Dec 05, 2006 10:54 am
by gdelamarre

PostPosted: Tue Dec 05, 2006 11:10 am
by Batalf

PostPosted: Tue Dec 05, 2006 11:26 am
by gdelamarre

PostPosted: Thu Dec 21, 2006 4:58 pm
by gdelamarre

PostPosted: Fri Feb 16, 2007 5:48 pm
by fmisondemand
gdelamarre, Hi how about the execute JS and CSS after AJAX load problem..
Is there a final solution now???

PostPosted: Fri Feb 16, 2007 11:57 pm
by gdelamarre
fmisondemand,

yes, i've found a solution that allows to execute, as far as i know, every javascripts you can embed. It stills one limitation, as described in prototype doc, on which i've based my workaround :

you have to declare your functions as follow :

foo = function(bar)

and not

function foo(bar)

and you can't use the var keyworf if you want to share global variables between a script loaded normally and another loaded after an Ajax request.

This can be boring if you use third party libs, that don't observe these syntaxes.

If interested, please reply or mail me, because i don't have my code right now.

PostPosted: Tue Dec 11, 2007 5:36 pm
by alinutza

PostPosted: Wed Dec 12, 2007 6:07 pm
by Deceased