Hi,
i have created a jquery ui dialogbox at my masterpage,so in my site dialogbox appears in all the pages, I close the dialogbox using clickevent after that when i go to next page dialogbox again open.once i close the dialogbox it should not open at next pageload .please give me some idea for this to do.
How can i do this??
This is my jquery code:
this is my design code:
i have created a jquery ui dialogbox at my masterpage,so in my site dialogbox appears in all the pages, I close the dialogbox using clickevent after that when i go to next page dialogbox again open.once i close the dialogbox it should not open at next pageload .please give me some idea for this to do.
How can i do this??
This is my jquery code:
Code:
<script type="text/javascript">
$(document).ready(function () {
$("#dialog").dialog({ modal: false, resizable: false,
bgiframe: true, draggable: false, position: ['right', 'bottom'], height: 150, width: 300
});
$("#<%=btnCancel.ClientID%>").click(
function () {
$("#dialog").dialog('close');
return false;
});
$("#<%=btnyes.ClientID%>").click(
function () {
var url = ".....";
$(location).attr('href', url);
return false
});
// To Store
});
</script>
this is my design code:
Code:
<div id="dialog" title="How Are We Doing?" style="width:500px; margin:0 0;" background-color="white">
<asp:Label ID="Label1" runat="server" Text="Please take a minute to give us your feedback…MICROMO.com’s User Feedback Program."></asp:Label>
</br></br>               <asp:Button ID="btnyes" runat="server" Text="YES" BackColor="#0099cc" width="40px" ForeColor="White" Font-Bold="true" />
               <asp:Button ID="btnCancel" runat="server" Text="NO" width="40px" BackColor="#0099cc" ForeColor="White" Font-Bold="true"/>
</div>
Comment