Dear All, i am making Popup window using jqModal , I have One MainPopup window , after Clicking OK I have to close that window and Open another Popup window.How to achiev this Here My Problem is Click event not working While I am pressing Button {#b}; More than this onclick of ButtonI have to open another popupwindow .ANy Help
My Code
<html>
<head>
<script src="jquery-latest.js" type="text/javascript"></script>
<script src="jqModal.js" type="text/javascript"></script>
<script type="text/javascript">
$().ready(function() {
$('#ex3a').jqm(
{ trigger: '#ex3aTrigger',
overlay: 30,
overlayClass: 'Overlay'}) .jqDrag('.jqDrag');
$('input.jqmdX') .hover( function(){ $(this).addClass('jqmdXFocus'); },
function(){ $(this).removeClass('jqmdXFocus'); })
.focus( function(){ this.hideFocus=true;
$(this).addClass('jqmdXFocus'); })
.blur( function(){ $(this).removeClass('jqmdXFocus'); });
$("#b").click(function () {
alert("hello"); });
});
</script>
</head> <body>
<a href="#" id="ex3aTrigger">
view</a> dialog
<div id="ex3a" class="jqmDialog">
<div class="jqmdTL">
<div class="jqmdTR">
<div class="jqmdTC jqDrag">[Dialog Title] </div> </div> </div> <div class="jqmdBL">
<div class="jqmdBR">
<div class="jqmdBC">
<div class="jqmdMSG"> Welcome Page <br/> <br/>
<div id="b"> <button> OK </button>
</div> </div>
</div> </div>
</div> </div>
</body>
</html>