Possible Duplicate:
Can someone explain the dollar sign in Javascript?
Why do certain javascript functions have a $ before the function delcaration? For example, here's the javascript for a JQuery slider. The source code can be found here http://jqueryui.com/slider/#rangemin
<script>
$(function() {
$( "#slider-range-min" ).slider({
range: "min",
value: 37,
min: 1,
max: 700,
slide: function( event, ui ) {
$( "#amount" ).val( "$" + ui.value );
}
});
$( "#amount" ).val( "$" + $( "#slider-range-min" ).slider( "value" ) );
});
</script>