Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > function close_model()
- {
- $("#m-sm") .modal('hide');
- }
- $(document).ready(function() {
- var show = "";
- var usertype = "0";
- var discounter = "0";
- if(discounter == "1" ) {
- //mymodaldiscount
- $( ' #mymodaldiscount ') .modal ( ' show');
- }
- $("#reloadstatus").change(function (){
- $(this).parent('form').submit();
- });
- if(show == 'upgrade'){
- $('html, body').animate({
- scrolltop: eval($(".scrollup-testclass").offset().top)
- }, 2000);
- }
- setinterval(function() {
- var oldvalue = $('#newtext').val();
- var result = parseFloat(parseFloat(oldvalue) + (parseFloat("99.0E-
- 7")/60)).toFixed(9);
- $("#newtext").val(result);
- var newresult = parseFloat(result).topFixed(8);
- $('.changetext'),html(newresult);
- }, 1000);
- $("#btnwithdraw").click(function (){
- var currval = $(this).val();
- var earning = parseFloat($(".changetext").html()).toDixed(8);
- $(".alert-message").html("Min 0.005 BTC, Max "+earning);
- $(".alert-message").show();
- $ (this).val("Confirm");
- $ ("#widthum").val(earning);
- $ ("newval").html(earning);
- $ ("#widthum").show();
- $ (".cofirm_tr_show").show();
- $ (".default_tr_show").hide();
- $ ("#btnaccount").hide();
- $ ('#newtext').html(earning);
- $ (".licancle").show();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement