Hey,

   Thanks a lot for your answers. Joel Birch, I think you are right
and it will work properly, I can not test it know because I am at
work!

   Chango, thanks for your answer but I think that it does't solve my
problem. [Spanish]: Por cierto, soy español, tú?


   Yesterday night I also found another alternative that works
properly, but I couldn't answer my question because I didn't find it.
What I did was:

  $(document).ready(function() {
     ....
        $('#menu').find('a').eq(0).click( function (){
                $('#content').load('html/senas_identidad.html');
                $.getScript( 'js/another_script' )

        });
....


    And the content of another_script is:

  $(document).ready(function() {
     ....
      $('#content').find('[EMAIL PROTECTED]
[EMAIL PROTECTED]').click( function ()
      {
          alert('Hola caracola');
      }
  ...


  It works properly and I get what I want. It is correct because in
JQuery you can have as many $(document).ready functions as you wish.

  However, I think Joel Birch option is better and is the way it
should do. Moreover I think my way works but it is not the right way
of using $.getScritpt ...

  What do you think?

  Thanks a lot!

Reply via email to