grabbing text in div with jquery
        Posted  
        
            by vick
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by vick
        
        
        
        Published on 2010-04-27T22:45:39Z
        Indexed on 
            2010/04/27
            22:53 UTC
        
        
        Read the original article
        Hit count: 186
        
jQuery
<a class="source" href="jquery-lead.php?source=<?=$src;?>">3</a>
<script type="text/javascript">
    $("a.source").live('click', function() { 
        $("#results").load( $(this).attr('href') );
      return false;
    });
</script> 
I am able to pass $src variable to my php script, but I also want to pass whatever is in the tag. In this case "3", this is going to be a pagination..
© Stack Overflow or respective owner