Plugin bootstrap input spinner example

A Bootstrap / jQuery plugin to create input spinner elements for number input.

  
                            $pdocrud = new PDOCrud();
                            $pdocrud->addPlugin("bootstrap-input-spinner");//to add plugin          
                            $pdocrud->formFields(array("product_price"));//only show product_price field
                            $pdocrud->fieldCssClass("product_price", array("product_price"));
                            echo $pdocrud->dbTable("producttable")->render("insertform");
                            echo $pdocrud->loadPluginJsCode("bootstrap-input-spinner",".product_price", array("decrementButton"=> "''"));//to add plugin call on .product_name elements
                            

Plugin bootstrap input spinner example - PDOCrud