Subversion Repositories SmartDukaan

Rev

Rev 6050 | Rev 6103 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

$(function(){
        $('#confirm-button').live('mouseover', function(){
                $('#confirm-button').css('background-image', 'url(images/confirm_pressed.png)');
        });
        $('#confirm-button').live('mouseout', function(){
                $('#confirm-button').css('background-image', 'url(images/confirm.png)');
        });
        
        /*
        $('#phone-image').hover(function(){
                $('#phone-image').attr('src', 'images/phone_pressed.png');}
                , function(){
                $('#phone-image').attr('src', 'images/phone.png');
        });
        $('#dth-image').hover(function(){
                $('#dth-image').attr('src', 'images/dth_pressed.png');}
                , function(){
                $('#dth-image').attr('src', 'images/dth.png');
        });
        */
        $('#dth-image').click(function(){
                $('#serviceType').val('2');
                $('#serviceSelectForm').submit();
        });
        $('#phone-image').click(function(){
                $('#serviceType').val('1');
                $('#serviceSelectForm').submit();
        });
        
        $('#confirm-button').click(function(){
                $('#rechargeDetailsForm').submit();
        });
        $('#coupons-submit-button').click(function() {
                $('#create-recharge-form').submit();
        });
});