Hiding input in jquerymobile 1.3.1
Hi,
Upon upgrading to jquerymobile 1.3.1 from 1.2.1, input cannot be hidden properly.
- <div id='divNameInput' data-role="fieldcontain">
- <label for="name">Name:</label>
- <input id="name" ></input>
- <label id="nameLabel"></label>
- </div>
Calling the following causes problem with formatting. The name control is not hidden!!! Works in 1.2.1 previously!!!
- $('#name').hide();
- $('#nameLabel').show();
However, changing the input to textarea works.
But, I wanna use input with type='numbers'. How can I hide input controls?