Simple Jquery Widget Example
To use jquery in object oriented way only option is jquery ui widget. By which we can make individual component and use it repetedly just like jquery ui calender, slider and drag-drop.
We have created small component for demo purpose it's just doing addition/subtraction in calendar like control for input field.
You can find step by step guide from this blog
$("#element").mywidget({
myvalue: 0 // Set value at initial
});
- Bootstrap
- jquery-ui