Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <div class="col-md-4">
  2. <input autocomplete="on" type="range" min="0" max="20" value="10"
  3. id="agriculture" data-toggle="tooltip" data-placement="bottom"
  4. title="Hey! You should drag me!">
  5. </div>
  6.  
  7. $("#agriculture").tooltip();
  8.  
  9. $('#agriculture').on('input change', function () {
  10.  
  11. $("#agriculture").tooltip('hide')
  12. .attr('data-original-title', 'New Title')
  13. .tooltip('fixTitle')
  14. .tooltip('show');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement