How do i create a line with some inline fields in one row, such as
First name:_________________
middle name:_________________
Birth day:[day][month][year]
Is this possible to do and still leave all the screen rendering schenenigans to jquerymobile?
Or is that too much to ask? :)
My first try was
<div data-role="fieldcontain">
<label for="firstname">First Name:</label>
<div class="ui-grid-b">
<div class="ui-block-a"><input ...
but this does not work... fieldcontain will only work for pairs of lable/input or other combinations (such as label/input[type=checkbox]/label for checkbox
jQuery Mobile will automatically handle link clicks and form submissions through Ajax, when possible. If false, url hash listening will be disabled as well, and urls will load as regular http requests.
but it should read:
"if false, this will disable every page transitions and it will not be possible to force link clicks and form submissions through Ajax"
I was really hoping that the default behaviour would be to not use Ajax, not completely disable Ajax.
<div class="ui-block-b"><button name="action" value="login" type="submit" data-theme="b">Log me in</button></div>
</fieldset>
that makes the [i forgot] button before the [login]... so when the user press ENTER it will send the password reset email... at least on some browsers. on IE i get an empty value.
my initial solution to solve both problems was to add a default value just at the beginning of the form code:
<!-- handles enter key-press -->
<input type="hidden" name="action" value="login" /> <!-- handles no JS-->
i even tried adding a new invisible button there to please some internal jquery 'fixing' of the enter keypress to submit forms...