jQuery(document).ready(function($) { $('label[for="signup_username"]').replaceWith($('label[for="signup_username"] > label').html()); $('#signup_username').hide(); $( "#signup_email" ).change(function() { $('#signup_username').val($('#signup_email').val()); }); var terms_condition; jQuery.get('/terms_condition.txt', function(data) { $('
').prependTo('.field_please-review-agree-to-the-tc > fieldset'); $('.field_please-review-agree-to-the-tc > fieldset > legend').prependTo('.field_please-review-agree-to-the-tc > fieldset'); }); //testing HNB IPG //jQuery('input#HNB-IPG-Test-checkBox').val(this.checked); jQuery('input#HNB-IPG-Test-checkBox').change(function() { if(this.checked) { $('fieldset#give-payment-mode-select').show(); }else{ $('fieldset#give-payment-mode-select').hide(); } }); //arrange recaptcha at registeration //jQuery('div#ncr-robot-check').css("width", "55%"); //jQuery('div#ncr-robot-check').css("float", "right"); //jQuery().css("padding-left", "30%"); jQuery( 'div#ncr-robot-check' ).appendTo( '#profile-details-section' ); jQuery( 'div.submit' ).appendTo( '#profile-details-section' ); });