Brokerage Comparison - Compare brokerage charges and choose top stock brokers in India (2024)

Table of Contents
Login Register References

'); } }, error: function (response) { console.log(response); } }); } }//END STEP 1//STEP 2function regSecondStep(){ var reg_email_otp = $('#reg_email_otp').val(); var flag = 0; if(reg_email_otp=="") { $("#reg_email_otp").css("border", "1px solid red"); var flag = 1; } else { $("#reg_email_otp").css("border", "1px solid green"); } if(flag==1) { return false; } else { $('#reg_email').prop("disabled", false); $('#phone_code').prop("disabled", false); $('#reg_phone').prop("disabled", false); $('#reg_capture').prop("disabled", false); var all_data = $('#regForm').serialize(); $('#reg_email').prop("disabled", true); $('#phone_code').prop("disabled", true); $('#reg_phone').prop("disabled", true); $('#reg_capture').prop("disabled", true); $('#reg_mg').html(''); $.ajax({ url: "https://www.prasenjitpaul.com/register-step-two", type: "post", data: all_data, success: function(response) { //console.log(response); $('#reg_mg').html(''); if(response.flag==1) { //email error $("#reg_email_otp").css("border", "1px solid red"); $('#email_otp_msg').html('Wrong OTP entered. Enter the correct code'); } else { $("#reg_email_otp").css("border", "1px solid #ececec"); $('#email_otp_msg').html(''); regThirdStep(); } }, error: function (response) { console.log(response); } }); }}//END STEP 2//STEP 3function regThirdStep(){ $('#reg_email').prop("disabled", false); $('#phone_code').prop("disabled", false); $('#reg_phone').prop("disabled", false); $('#reg_capture').prop("disabled", false); var all_data = $('#regForm').serialize(); $('#reg_email').prop("disabled", true); $('#phone_code').prop("disabled", true); $('#reg_phone').prop("disabled", true); $('#reg_capture').prop("disabled", true); $('#reg_mg').html(''); $.ajax({ url: "https://www.prasenjitpaul.com/register", type: "post", data: all_data, success: function(response) { //console.log(response); $('#reg_mg').html(''); if(response.fail) { $.each(response.messages, function( index, value ) { //alert(value); var errorDiv = '#reg_'+index; $(errorDiv).parent().addClass('has-error'); $(errorDiv+'-unique').after().html(value); }); } if(response.success){ $('#reg_mg').html('

Registration Successful.

'); window.location.replace(response.redirect); } }, error: function (response) { console.log(response); } }); }//END STEP 3function BackReg(){ $('#reg_name-div').show(); $('#reg_password-div').show(); $('#reg_password_confirmation-div').show(); $('#phone-div').show(); $('#reg_capture-div').show(); $('#reg_email_otp-div').hide(); $('#reg_email').prop("disabled", false); $('#phone_code').prop("disabled", false); $('#reg_phone').prop("disabled", false); $('#reg_capture').prop("disabled", false); $("#reg_email_otp").css("border", "1px solid #ececec"); $('#email_otp_msg').html(''); $('#reg_email_otp').val(''); $("#reg-button-div").html('');}//USER LOGIN$(document).ready(function() { $("#userLoginForm").validate({ rules: { email: { required: true, email: true }, password: "required", }, submitHandler: function(form) { $('#login_mg').html(''); $.ajax({ url: "https://www.prasenjitpaul.com/login", type: "post", data: $(form).serialize(), success: function(response) { if (response.success) { $('#login_mg').html('

Login successful.

'); window.location.replace(response.redirect); } else{ $('#login_mg').html('

'+response.message+'

'); } }, error: function (response) { console.log(response); } }); } }); });//END USER LOGIN//USER FORGOT PASSWORD$(document).ready(function() { $("#userForgotForm").validate({ rules: { email: { required: true, email: true }, }, submitHandler: function(form) { $("#forgot-password-button").attr("disabled", true); $('#forgot_mg').html(''); $.ajax({ url: "https://www.prasenjitpaul.com/password/email", type: "post", data: $(form).serialize(), success: function(response) { $("#forgot-password-button").attr("disabled", false); if (response.success) { $('#forgot_mg').html('

'+response.message+'

'); } else{ $('#forgot_mg').html('

'+response.message+'

'); } }, error: function (response) { console.log(response); } }); } }); });//END USER FORGOT PASSWORDfunction forgotPasswordDiv(){ $("#userForgotForm").toggle(500);}

Brokerage Comparison - Compare brokerage charges and choose top stock brokers in India (2024)

References

Top Articles
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 6446

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.