Commit graph

18 commits

Author SHA1 Message Date
jblas@adobe.com
729cda075a Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.buttonMarkup.js
	js/jquery.mobile.event.js
	js/jquery.mobile.forms.checkboxradio.js
	js/jquery.mobile.forms.select.js
	js/jquery.mobile.listview.js
2011-03-27 21:00:22 -07:00
cm71td
2f3b5b6543 Disabled buttons should get the ui-disabled class. I created a refresh() method to be consistent with other widgets. It checks if the underlying button is disabled and calls enable or disable. The refresh() method is called from _create. 2011-03-25 03:16:42 +08:00
Kin Blas
79c1b1fb69 Convert dialog and button over to using vclick. 2011-03-08 08:52:17 -08:00
Kin Blas
48ab0ec7d6 Prevent inputs and buttons of type="button" from getting the submit click handler added to them. 2011-03-01 14:04:48 -08:00
scottjehl
91a5b8c098 Changed the way submit buttons work. Now, form input/button elements are appended to a div-based "button", invisibly filling its width and height. The user now interacts directly with the native control, rather than having to trigger a click from another anchor (which formerly prevented some native submit event handling from working).
A workaround is still included to ensure the input's name/value is submitted along with the form when it's not a type=reset, as this is necessary for the button data to appear in the serialized form data.
2010-12-06 11:40:28 -05:00
scottjehl
b01478a5e7 make sure forms can submit via ajax AND pass the clicked button's name/value in the serialized data. Fixes #605 2010-12-03 13:08:08 -05:00
scottjehl
419787affe make sure submit button name/value is submitted with form values. Fixes #551 2010-11-29 10:09:26 -05:00
scottjehl
93179f9a3d updated comment about license to match other jQuery projects - MIT "or" GPL 2010-11-19 22:47:47 -05:00
scottjehl
5e90786374 added enable and disable methods to form buttons 2010-11-17 10:27:35 -05:00
scottjehl
a24196e550 dolla dolla bills y'all.
Fixes #126, Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
bf3730550f used null where appropriate in options 2010-11-10 23:08:22 -05:00
scottjehl
532c918a26 updated data attribute support 2010-11-10 22:54:57 -05:00
scottjehl
356308e6b7 updates to comments 2010-11-09 19:55:52 -05:00
scottjehl
88a3c9ae57 updated to trigger a submit if the type is submit 2010-11-01 23:53:06 -04:00
scottjehl
e202a72776 converted customButton plugin to widget factory (note: this is just the plugin for native button elements, not to be confused with the buttonMarkup plugin).
renamed method to "button" and updated page.js to match
2010-10-27 20:43:27 -04:00
scottjehl
a26e0a0d6a added "inline" option to buttons and button links. data-inline="true". Fixes #148 2010-10-11 15:47:30 -04:00
scottjehl
0ec600c1b3 Improved and expanded ARIA coverage to more components, including landmarks on common top-level page elements. Fixes #137 2010-10-10 21:17:49 -04:00
Scott González
5c3d35574f Renamed files. 2010-10-07 11:30:48 -04:00
Renamed from js/jQuery.mobile.forms.button.js- (Browse further)