Hi,
I am using Modalview, in that i am using switch, when i change the switch status yet to no modalview is closing.
plese see the below code and find the attachment.
<div data-role="view" id="modalview-camera" data-title="HTML5 Camera" data-layout="mobile-tabstrip">
<div data-role="footer">
<div data-role="tabstrip">
<a href="#tabstrip-settings" data-icon="contacts">Profile</a>
</div>
</div>
<div data-role="content">
<a data-role="button" data-rel="modalview" href="#modalview-login" id="modalview-open-button">Login</a>
<div data-role="modalview" id="modalview-login" style="width: 95%; height: 270px;">
<div data-role="header">
<div data-role="navbar">
<span>Login</span>
<a data-click="closeModalViewLogin" data-role="button" data-align="right">Cancel</a>
</div>
</div>
<div data-role="content">
<input data-role="switch" id="email-switch" checked="checked" />
</div>
</div>
</div>
</div>
I am using Modalview, in that i am using switch, when i change the switch status yet to no modalview is closing.
plese see the below code and find the attachment.
<div data-role="view" id="modalview-camera" data-title="HTML5 Camera" data-layout="mobile-tabstrip">
<div data-role="footer">
<div data-role="tabstrip">
<a href="#tabstrip-settings" data-icon="contacts">Profile</a>
</div>
</div>
<div data-role="content">
<a data-role="button" data-rel="modalview" href="#modalview-login" id="modalview-open-button">Login</a>
<div data-role="modalview" id="modalview-login" style="width: 95%; height: 270px;">
<div data-role="header">
<div data-role="navbar">
<span>Login</span>
<a data-click="closeModalViewLogin" data-role="button" data-align="right">Cancel</a>
</div>
</div>
<div data-role="content">
<input data-role="switch" id="email-switch" checked="checked" />
</div>
</div>
</div>
</div>