Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some use the convention that jQuery objects should be prefixed with $, so:

  var $d = $('#elm');
  $d.color('red');
  $d.text('new text');
I do this, and like it, despite my classic aversion to both Systems Hungarian and GW-BASIC.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: