Now I have another, native slider nearby. The code did not change, it's shown below (code is ASP.NET MVC3 Razor). I really need the textbox, not another slider. What's wrong?
<div data-role="fieldcontain">
@Html.LabelFor(m => m.AgeFrom)
<input type="range" name="AgeFrom" id="searchSettings-AgeFrom" min="16" max="70"
onchange="SearchSettingsChangeAgeFrom();" value="@Model.AgeFrom" />
</div>
<div data-role="fieldcontain">
@Html.LabelFor(m => m.AgeTo)
<input type="range" name="AgeTo" id="searchSettings-AgeTo" value = "@Model.AgeTo" min="16" max="70" onchange="SearchSettingsChangeAgeTo();" />
</div>
Thank you!
UPDATE: It only happens if slider is on a page loaded as a dialog.