John Bender
4713bf26d5
remove log statements
2011-10-11 10:47:46 -07:00
John Bender
8dd3def54b
refactor for #509 , move to document ready instead of using ssetTimeout
2011-10-11 10:46:19 -07:00
John Bender
3306a3242c
Merge branch 'master' of https://github.com/mplatov/jquery-mobile into mplatov-master
2011-10-11 10:44:38 -07:00
John Bender
4ccd9b1bb3
move textinput to widget prototype enhanceWithin
2011-10-10 14:21:37 -07:00
Kin Blas
a975878fb4
Disabled the workaround for issue 785 (jQM text input forces use of iOS auto-correction) on iOS 5 devices since it appears to be fixed. This is still a problem on iOS 4.x and earlier.
...
- We don't have a specific test for iOS 5 so we use $.support.touchOverflow as an iOS 5 and later indicator. Yes, I feel dirty.
2011-09-26 11:39:30 -07:00
John Bender
aa679a9b0f
add inputs without a type to the text input list Fixes #2205
2011-09-23 20:44:48 -07:00
John Bender
3d88760019
whitespace in mobile forms textinput
2011-09-23 20:43:56 -07:00
Michael Platov
b9557705b3
Fix for issue 509 textarea autogrow
2011-08-24 14:28:12 +08:00
scottjehl
263193f490
Moved autoinit calls to after widgets. Made it so auto init selectors use the initSelector option, so that it can be configurable.
2011-07-27 18:42:16 -04:00
scottjehl
e07c40e3d0
exposed automatic initialization selectors on most widgets that expose options through the widget factory. Option name is "initSelector"
2011-07-26 14:22:08 -04:00
scottjehl
79d3aa6f04
brought back degradeInputs page option, this time as a decoupled page plugin file. Fixes #2123
2011-07-26 13:49:10 -04:00
scottjehl
fdb77bfa52
changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions
2011-07-22 09:05:55 -04:00
Scott Jehl
4d66aa6397
added input types url and tel to auto-init.
2011-07-20 15:29:08 -07:00
Andy Matthews
0123608748
Edited js/jquery.mobile.forms.textinput.js via GitHub
2011-07-20 12:52:19 -07:00
scottjehl
a3afffdbbd
restored autocorrect/complete disabling, as it was implemented in the page plugin already.
2011-07-20 12:59:20 -04:00
scottjehl
64e6ef0e72
bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance".
2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9
This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
...
- Internally, each plugin self-initializes by binding to the pagecreate event.
- Unit tests have been added and adjusted to support some internal changes involved in this commit.
- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.
- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.
- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
Rick Waldron
e44f553a64
jQuery core style guide conformance: jquery.mobile.forms.textinput.js
2011-06-28 21:20:52 -04:00
scottjehl
758e430653
fixed theme inheritance on filter lists in IE7.
2011-06-17 19:02:53 -04:00
Abhishek Joshi
cb645ede22
Add new focus event which will show cross button on search textbox when some item get paste directly without key event to search text box
2011-05-13 22:44:47 -07:00
mark.dawn@gmail.com
69a0a47a0c
XPATH Selector was not well formed of type label[for=ID]
...
let say id of an inputbox is x.y.z then query
$("label[for=x.y.z]") gonna fail
$("label[for=\"x.y.z\"]") gonna work
2011-04-26 19:31:43 +05:30
scottjehl
7503f62a10
changed our two new custom data helper names to jqmData() and :jqmData()
2011-03-25 17:50:40 -04:00
Kin Blas
db89e1f24d
Switch find/filter selector calls over to using the new :jqdata() pseudo selector.
2011-03-22 13:31:17 -07:00
scottjehl
ce34ece257
namespaced data- attrs to $.mobile.ns (defaults to "jq-") throughout the JS
2011-03-09 20:47:44 -05:00
toddparker
8b728d8df7
Re-named the ui-icon-search used on search inputs to ui-icon-searchinput so I modified the script for search input to reflect this change
2011-02-03 13:38:07 -05:00
scottjehl
b4c8e2f98e
moved search input clear buttons over to "tap" event
2011-01-28 15:20:56 -08:00
scottjehl
93179f9a3d
updated comment about license to match other jQuery projects - MIT "or" GPL
2010-11-19 22:47:47 -05:00
scottjehl
a24196e550
dolla dolla bills y'all.
...
Fixes #126 , Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
3a3953cd3f
made sure text inputs / areas worked with data-theme
2010-11-10 23:54:01 -05:00
scottjehl
356308e6b7
updates to comments
2010-11-09 19:55:52 -05:00
scottjehl
c9bc4880a9
removed trailing comma.
2010-11-05 14:46:25 -04:00
scottjehl
b1f7ff9c2d
made textinputs and textareas inherit theming when possible, or fall back to "c"
2010-11-04 21:59:03 -04:00
scottjehl
ffa682cbfe
Converted textinput plugin to use widget factory. Also added enable and disable methods. Fixes #369
2010-11-04 21:32:28 -04:00
scottjehl
d299bfb087
moved append to before the buttonMarkup call, to make theming work as expected
2010-10-27 12:19:01 -04:00
Brandon Aaron
946f9d72ca
Updates to textarea autogrow. Use keyUp event so that changes are reflected in the DOM (in theory), buffer the keyUp event (100ms), and use clientHeight instead of offsetHeight for a better comparison to scrollHeight. Fixes #4 .
2010-10-18 15:51:49 -04:00
scottjehl
a9e984a062
made sure inner shadow is applied differently on search inputs
2010-10-12 11:43:52 -04:00
scottjehl
855961ee2d
apply theming to inputs using data-theme. background image is set to none, but color is used, along with ui-shadow-inset
2010-10-11 17:26:51 -04:00
Scott González
5c3d35574f
Renamed files.
2010-10-07 11:30:48 -04:00