Open FancyBox on Page Load using jQuery fancybox plugin in ASP.Net

Last Reply 9 months ago By dharmendr

Posted 9 months ago

My Question is i want to open fancybox on first time page load there i have put contain of Login so please guide me how can i do ? please  how does it this please mention all the step in answer.

Posted 9 months ago Modified on 9 months ago

Hi Rancho079,

Check the below sample and modify as per your requirement.

<html xmlns="">
<head runat="server">
    <script type="text/javascript" src=""></script>
    <link href="" rel="stylesheet" />
    <script src="" type="text/javascript"></script>
        $(document).ready(function () {
    <form id="form1" runat="server">
        <div id="dvLogin">
                    <td>User Id:</td>
                        <input type="text" id="txtUserId" />
                        <input type="password" id="txtPassword" /></td>
                    <td colspan="2" align="center">
                        <input type="button" value="login" /></td>