grabbing text in div with jquery
- by vick
<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..