+

OK, it's not a language, it's a library. Just a scratchpad for my scraps of jQuery snippets.

  1. Set the contents of an element (like .innerHTML)
    $('#myId').html('new string');
    
  2. Bind a click event

    $('#Stop').bind('click',function(){reset();});
    
  3. Run this method when the page is loaded and ready.

    $(document).ready(updateWidgets);
    
  4. Set the value of a jQuery UI slider

    $('#radiusSlider').slider("value",radius);
    
+