News for hackers. Stuff that matters.
Re:Web development is just broken by kaylarose on Monday April 18, 2011 @11:56AM (#2459500)
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);});

Re:Web development is just broken by Tycho on Monday April 18, 2011 @12:42PM (#2459675)
Yeah 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.