MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/sunriseventures/assets/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/sunriseventures/assets/js/modelsub.js
  $(".first").click(function() {

        //Do stuff when clicked

        // alert('rt');




        var name = $('#sname').val();

        var email = $('#semail').val();

        var mobno = $('#mobno').val();

        var type = $('#type').val();


        

        // var isValid = true;

        //     $('#profile_for,#name,#lname,#semail,#age,#spassword,#mobno,#gender,#dob').each(function () {

        //         if ($.trim($(this).val()) == '') {

        //             isValid = false;

        //             $(this).css({

        //                 "border": "1px solid red",

        //                 "background": "#FFCECE"

        //             });

                   

        //         }

        //         else {

        //             $(this).css({

        //                 "border": "",

        //                 "background": ""

        //             });



        //         }

        //     });

        

        // if (isValid == false)

        //         e.preventDefault();

        // alert(email);

        // alert(password);



        $.ajax({  

                    type: 'POST',  

                    url: 'Ajax/first.php', 

                    data: {name: name,email: email,mobno: mobno,type: type },

                    success: function(response) {
                        alert(response);
                    //  data = JSON.parse(response);
                       // datas =  JSON.parse(JSON.stringify(data));
                        // alert(data);
                         // $('#tax').val(data.tax);
                        //  $('#eid').val(data.eid);
                        //  $('#etype').val(data.tpe);
                        //  $("#myModali").modal('hide');
                        //     $("#dynamic_body").html(response);

                        //  $("#myModali1").modal('show');
                        //  $('#ididt').val(response);

                    }

                });

       

        // $("#myModali1").modal('show');

        

    });
    
    

MMCT - 2023