Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aterrien committed May 12, 2012
1 parent 634415e commit e2ead78
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Hooks
* change : at each change of value
* release : on release

Example
Example 1
-------

<input type="text" value="75" class="dial">
Expand All @@ -45,6 +45,23 @@ Example
</script>


Example 2
-------

<input type="text" value="75" class="dial">

<script>
$(".dial").knob(
{
'change':function(e){
console.log(e);
}
}
)
.val(79);
</script>


Tested on Chrome, Safari, Firefox.
Not tested on MSIE.

Expand Down

0 comments on commit e2ead78

Please sign in to comment.