I create a simple test like my problem... because my real problem
hosted on blocked domain for external visits.

http://www.gabrieltadeu.com/teste/testes.html

this example above have the same problem. i need the function

        $('#rapida ul a').click(function () {
                var url = $(this).attr('title');
                alert(url);
        });


work with the loaded content.

for repeat my probleam:

click in 'MG' (this action fire the load content)

now, click in 'Belo Horizonte' (this is the load content!) first alert
dont appear. :(



On 22 out, 21:59, "Jonathan Sharp, Out West Media" <jquery-
[EMAIL PROTECTED]> wrote:
> Hi gtso86,
>
> Do you have a URL of the page in question?
>
> It may be that you need to call your $('#rapida ul a')... code after  
> $.load() is finished loading the content.
>
> You could do this by using the callback argument:
> $.load(url, [data], function() {
>         $('#rapida ul a')...
>
> });
>
> Cheers,
> -Jonathan
>
> On Oct 22, 2008, at 5:32 PM, gtso86 wrote:
>
> > Hi everybody... this morning i started a project $.load. When i load
> > the html using $load in the main page (default.aspx) i cant interacte
> > with using jQuery.
>
> > Simple interactives like
>
> > $('#rapida ul a').click(function () {
> >            var url = $(this).attr('href');
> >            alert(url);
> >            //$(this).parents().css('border','1px solid red');
> > });
>
> > dont work ONLY in the loaded content. i can manipulate this content?

Reply via email to