Grow your CSS skills. Land your dream job.

jQuery .load() problem

  • # January 20, 2010 at 1:45 pm

    Hi

    Having an issue on this site:

    http://www.edgerow.com/caroline/ackompanjemang/

    Clicking on the links to the left should do an ajaxy type load into the content divs. This works, but it seems to be broken on every second click.

    Any ideas?

    Thanks in advance.

    # January 20, 2010 at 3:22 pm

    Found the solution…

    Changed
    jQuery("li a").click(function() {
    to
    jQuery("li a").live(‘click’, function(){

    Found the solution here:

    http://cakeqs.org/eng/questions/view/aj … loads_page

    Hope this helps someone…

    Thanks for the help aicos!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".