carlarrj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Sep-06 09:54 UTC
prototype and ajaxRequest - don''t load javascript inside of the div loaded by ajaxRequest in site
Hi i''m using ajax to call pages to a div, i''m using this example http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-tabmenu/dhtmlgoodies-tabmenu.html, and this pages have javascript that don''t work when are call by the index page. The main page don''t load the javascript inside of the div loaded by ajaxRequest in site. Here are some javascript tutorials that i''m using in the pages and don''t work when are call by ajaxRequest to a div: - http://www.zimmertech.com/tutorials/javascript/22/interactive-hidden-forms-tutorial.php - http://tinymce.moxiecode.com/example_full.php?example=true - http://tinymce.moxiecode.com/example_full.php?example=true none of this scrips work inside of the div and i can''t find a solution, please someone can help me? i really appreciate any kind of help thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Diodeus
2007-Sep-06 12:51 UTC
Re: prototype and ajaxRequest - don''t load javascript inside of the div loaded by ajaxRequest in site
This group is for the Prototype library, which you aren''t using. You may be better off finding an answer somewhere else. On Sep 6, 5:54 am, "carla...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <carla...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > > i''m using ajax to call pages to a div, i''m using this examplehttp://www.dhtmlgoodies.com/scripts/dhtmlgoodies-tabmenu/dhtmlgoodies..., > and this pages have javascript that don''t work when are call by the > index page. The main page don''t load the javascript inside of the div > loaded by ajaxRequest in site. > > Here are some javascript tutorials that i''m using in the pages and > don''t work when are call by ajaxRequest to a div: > -http://www.zimmertech.com/tutorials/javascript/22/interactive-hidden-... > -http://tinymce.moxiecode.com/example_full.php?example=true > -http://tinymce.moxiecode.com/example_full.php?example=true > > none of this scrips work inside of the div and i can''t find a > solution, please someone can help me? > i really appreciate any kind of help > > thank you--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Diodeus
2007-Sep-06 13:06 UTC
Re: prototype and ajaxRequest - don''t load javascript inside of the div loaded by ajaxRequest in site
Your ajax request needs to have the option: evalScripts: true On Sep 6, 5:54 am, "carla...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <carla...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > > i''m using ajax to call pages to a div, i''m using this examplehttp://www.dhtmlgoodies.com/scripts/dhtmlgoodies-tabmenu/dhtmlgoodies..., > and this pages have javascript that don''t work when are call by the > index page. The main page don''t load the javascript inside of the div > loaded by ajaxRequest in site. > > Here are some javascript tutorials that i''m using in the pages and > don''t work when are call by ajaxRequest to a div: > -http://www.zimmertech.com/tutorials/javascript/22/interactive-hidden-... > -http://tinymce.moxiecode.com/example_full.php?example=true > -http://tinymce.moxiecode.com/example_full.php?example=true > > none of this scrips work inside of the div and i can''t find a > solution, please someone can help me? > i really appreciate any kind of help > > thank you--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---