i am trying to make the font size larger on everyclick but it only does it once here is my code .
<a href="5">add</a>
<script type="text/javascript">
$('a').live('click', function(e){
e.preventDefault();
var link = $(this).attr('href');
var num = link+20;
var font = {color:"#993300", fontSize:num+"px"};
$("p").css(font);
return false;
});
</script>
Any help ???
You have to set the value back to the href to work again. Here is the code (not tested)