KatsolAgency

Programming languages and web development including java , html, css ,java script,Tutorials Android phone tricks and Tech news around the world.

jQuery Buttons

Creating a Button in jQuery 

we can now create  buttons that will take us to another page, when we click it,  what we are
going to do is that, we are to  add classes to style a and button elements. input 
 buttons are enhanced by the button widget.
jquery mobile buttons

Note: that in 1.4 data- attributes will still work. The deprecated
buttonMarkup method will add the applicable classes to a (with data-role="button") and button elements. This method also adds the role="button" attribute to anchor elements.

Anchor buttons
<a href="#" class="ui-btn">Anchor</a>
<button class="ui-btn">Button</button>

Input buttons
<form>
    <input type="button" value="Button">
    <input type="submit" value="Submit">
    <input type="reset" value="Reset">
</form>