jquery load based on href
- by ntan
Hi,
I am having a link 
<a id="test" href="text.php">test</a>
I have the following jquery code
    $("#test").live("click", function(){                       
             $("#myDiv").load($("#text").attr("href"));         
        });
trying to load  the href of #test inside myDiv.
But of course when click, start .load the href AND the browser changes to text.php.
Is there any way to achieve this.
Thanks