PHP Classes

File: public/assets/bower_components/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Inventory Management System with Scanner   public/assets/bower_components/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs   Download  
File: public/assets/bower_components/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Inventory Management System with Scanner
Manage inventory stock using scanner application
Author: By
Last change:
Date: 1 year ago
Size: 696 bytes
 

Contents

Class file image Download
<div id="cp10" class="input-group colorpicker-component"> <input disabled type="text" value="" class="form-control"/> <span class="input-group-addon"><i></i></span> </div> <br> <p> <a class="btn btn-sm btn-default enable-button" href="#">Enable</a> <a class="btn btn-sm btn-default disable-button" href="#">Disable</a> </p> <script> $(function () { $(".disable-button").click(function(e) { e.preventDefault(); $("#cp10").colorpicker('disable'); }); $(".enable-button").click(function(e) { e.preventDefault(); $("#cp10").colorpicker('enable'); }); $('#cp10').colorpicker(); }); </script>