I need a modal pop up screen/form in my website which should work on Android,iphone and blackberry. I tried using jquery ui dialog for this but it doesn't seem to be working properly on the mentioned devices. Can anybody please help me out on this?
Thanks.
Take a look at jQueryMobile - you can do something like this:
<script>
$('#okButton').bind('click', function () {
alert('hello world');
});
</script>
<div data-role="page">
<div data-role="content">
<a href="#myDialog" data-rel="dialog" data-role="button">Open Dialog</a>
</div>
</div>
<div id="myDialog" data-role="dialog">
<a href="#" data-role="button" data-icon="check" id="okButton">OK</a>
<a href="#" data-rel="back" data-icon="delete" data-role="button">Cancel</a>
</div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.