Advertisement
ariyanadmin

Untitled

Feb 17th, 2020
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. > function close_model()
  2. {
  3. $("#m-sm") .modal('hide');
  4. }
  5. $(document).ready(function() {
  6. var show = "";
  7. var usertype = "0";
  8. var discounter = "0";
  9.  
  10. if(discounter == "1" ) {
  11. //mymodaldiscount
  12. $( ' #mymodaldiscount ') .modal ( ' show');
  13. }
  14. $("#reloadstatus").change(function (){
  15. $(this).parent('form').submit();
  16. });
  17.  
  18.  
  19. if(show == 'upgrade'){
  20. $('html, body').animate({
  21. scrolltop: eval($(".scrollup-testclass").offset().top)
  22. }, 2000);
  23. }
  24.  
  25. setinterval(function() {
  26.  
  27. var oldvalue = $('#newtext').val();
  28. var result = parseFloat(parseFloat(oldvalue) + (parseFloat("99.0E-
  29. 7")/60)).toFixed(9);
  30. $("#newtext").val(result);
  31. var newresult = parseFloat(result).topFixed(8);
  32.  
  33. $('.changetext'),html(newresult);
  34. }, 1000);
  35.  
  36. $("#btnwithdraw").click(function (){
  37. var currval = $(this).val();
  38. var earning = parseFloat($(".changetext").html()).toDixed(8);
  39. $(".alert-message").html("Min 0.005 BTC, Max "+earning);
  40. $(".alert-message").show();
  41.  
  42. $ (this).val("Confirm");
  43. $ ("#widthum").val(earning);
  44. $ ("newval").html(earning);
  45. $ ("#widthum").show();
  46. $ (".cofirm_tr_show").show();
  47. $ (".default_tr_show").hide();
  48. $ ("#btnaccount").hide();
  49.  
  50. $ ('#newtext').html(earning);
  51. $ (".licancle").show();
  52.  
  53. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement