Permalink
Browse files

README.md

  • Loading branch information...
aterrien committed May 12, 2012
1 parent 634415e commit e2ead78975a96a8d961aa8bba9afb4e744ccea20
Showing with 18 additions and 1 deletion.
  1. +18 −1 README.md
View
@@ -33,7 +33,7 @@ Hooks
* change : at each change of value
* release : on release
-Example
+Example 1
-------
<input type="text" value="75" class="dial">
@@ -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.

0 comments on commit e2ead78

Please sign in to comment.