[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
Advertisement

How to enable embeded Javascript from Ajax response

Moderators: Calcifer, slothy

How to enable embeded Javascript from Ajax response

Postby gdelamarre » Tue Dec 05, 2006 10:00 am

gdelamarre
 
Posts: 30
Joined: Fri Sep 29, 2006 2:52 pm

Postby Batalf » Tue Dec 05, 2006 10:43 am

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby gdelamarre » Tue Dec 05, 2006 10:54 am

gdelamarre
 
Posts: 30
Joined: Fri Sep 29, 2006 2:52 pm

Postby Batalf » Tue Dec 05, 2006 11:10 am

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby gdelamarre » Tue Dec 05, 2006 11:26 am

gdelamarre
 
Posts: 30
Joined: Fri Sep 29, 2006 2:52 pm

Postby gdelamarre » Thu Dec 21, 2006 4:58 pm

gdelamarre
 
Posts: 30
Joined: Fri Sep 29, 2006 2:52 pm

Postby fmisondemand » Fri Feb 16, 2007 5:48 pm

gdelamarre, Hi how about the execute JS and CSS after AJAX load problem..
Is there a final solution now???
fmisondemand
 
Posts: 9
Joined: Wed Feb 07, 2007 10:16 pm

Postby gdelamarre » Fri Feb 16, 2007 11:57 pm

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.
gdelamarre
 
Posts: 30
Joined: Fri Sep 29, 2006 2:52 pm

Postby alinutza » Tue Dec 11, 2007 5:36 pm

alinutza
 
Posts: 6
Joined: Tue Dec 11, 2007 3:46 pm

Postby Deceased » Wed Dec 12, 2007 6:07 pm

Deceased
 
Posts: 4
Joined: Tue Dec 11, 2007 12:55 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 6 guests

cron