Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.53 KB | None | 0 0
  1.     <form action="." method="POST" id="formid">
  2.         <input type="hidden" name="caller" value="">
  3.         <label for="fader{{channel.attr['id']}}">{{channel.attr['name']}}</label>
  4.         <input type="range" name="fader" id="fader{{channel.attr['id']}}" min="0" max="100" value="{{channel.attr['P']}}">
  5.     </form>
  6.  
  7.     <script src="jquery.min.js"></script>
  8.  
  9.     <script>
  10.         $("input[type='range']").change(function(){
  11.             $('#callerid').val(this.id);
  12.             $('#formid').submit();
  13.         });
  14.     </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement