4 ms·
I would skip the jQuery-ahm, especially since you are already committed to jQuery as a dependency. //Overly simplified example $.get('tooltips.php?id=tooltip-i
by kaylarose 16y ago
I would skip the jQuery-ahm, especially since you are already committed to jQuery as a dependency.
//Overly simplified example
$.get('tooltips.php?id=tooltip-id',function(data){$('#tt').text(data);});
- Tycho 16y agoYeah I see your point, but when I said 'one line' I meant more like 'one word.' jQuery-ahm just uses a 'ahm' class on the html link to the Ajax endpoint. like <a href='/tooltip3' class='ahm'> and that's it. The line of jQuery you wrote is still very dense.