Get a free trial // Grow your CSS skills // Land your dream job

jQuery .load() problem

  • # January 20, 2010 at 1:45 pm


    Having an issue on this site:

    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…

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

    Found the solution here: … 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed