Modal popup using jquery in MVC

Many times we think that how to create the model pop up in MVC or how to set call a div or image on page load in MVC so here we learn how to call model pop up on page load in MVC without using any controller or model but if you want that you can call controller.


    Layout = null;

<!DOCTYPE html>

    <meta name="viewport" content="width=device-width" />
    <script type="text/javascript" src=""></script>
    <script src="" type="text/javascript"></script>
    <link href=""
          rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
                title: "Dialog Modal Popup on page load using Jquery in MVC-DEMO",
                width: 360,
                height: 450,
                buttons: {
                    Close: function () {
        body {
            background: url("../sunbeam.jpg") no-repeat center center fixed;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;

    <div id="div1" style="display: none">
        <script async src="//"></script>
        <script async="" src="//"></script>
        <!-- 300*250 -->
        <br />
        <ins class="adsbygoogle" data-ad-client="ca-pub-8436844275140446" data-ad-slot="3267030219" style="display: inline-block; height: 250px; width: 300px;"></ins>
            (adsbygoogle = window.adsbygoogle || []).push({});



Modal popup using jquery in MVC Modal popup using jquery in MVC Reviewed by NEERAJ SRIVASTAVA on 6:01:00 PM Rating: 5

No comments:

Powered by Blogger.