Answers for "input number hide button"

CSS
6

get rid of arrows number input

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
Posted by: Guest on December-05-2019
0

input number hide button

<html><head><script>const pushToSentryArray = function (error) {
        if (typeof Sentry === 'undefined') {
          // Sentry is not loaded. Piggyback errors
          window.SENTRY_PENDING_LOAD_ERRORS.push(error);
        } else {
          Sentry.captureException(new Error('Failed to load ' + error.target.attributes.src.value));
        }
        console.log('Failed to load sending to sentry' + error.target.attributes.src.value);
      };
      window.SENTRY_PENDING_LOAD_ERRORS = [];
      window.addEventListener(
        'error',
        function (error) {
          if (error.target && error.target.localName === 'script') {
            let count = parseInt(localStorage.getItem('retryCount'));
            count = count ? count : 0;
            if (error.target.src && error.target.src.includes('/employers-v2/assets/')) {
              //
              // File not found
              console.log('Failed to load file:', error.target.src);
              if (typeof fa != 'undefined') {
                fa.send('received_404_for_file', {
                  source: error.target.src,
                });
              }

              if (count < 1) {
                const r = window.confirm('Website outdated - Refresh to continue');
                if (r == true) {
                  localStorage.setItem('retryCount', count ? ++count : 1);
                  window.location.href = window.location.href;
                } else {
                  window.alert('Something went wrong! Please refresh the page');
                  pushToSentryArray(error);
                }
              } else {
                pushToSentryArray(error);
              }
            } else {
              pushToSentryArray(error);
            }
          }
        },
        true
      );</script><title>WorkIndia</title><meta charset="UTF-8"/><link rel="icon" href="https://webcdn.workindia.in/assets/favicon.ico" type="image/gif" sizes="16x16"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="description" content="WorkIndia : Get Access to 20,000,000+ Candidates and Post Free Job First Time. Free find & post jobs in Mumbai, Thane, Navi Mumbai, Borivali, Malad, Goregaon, Virar, Pune, Delhi & Bengaluru."/><meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' http://* 'unsafe-inline'; script-src 'self' http://* 'unsafe-inline' 'unsafe-eval'"/><script src="https://apps.workindia.in/fire-analytics/fa.v2.min.js" charset="utf-8"></script><script>window.LoadStarted = Date.now();</script><noscript><img height="1" width="1" style="display: none" src="https://www.facebook.com/tr?id=478439189313786&ev=PageView&noscript=1"/></noscript><link href="/employers-v2/assets/app.2148a57fae0954bcf5d8.css" rel="stylesheet"></head><body><div id="root"></div><script src="/employers-v2/assets/runtime.2148a57fae0954bcf5d8.js"></script><script src="/employers-v2/assets/stores.2148a57fae0954bcf5d8.js"></script><script src="/employers-v2/assets/util.2148a57fae0954bcf5d8.js"></script><script src="/employers-v2/assets/vendor-mobx.2148a57fae0954bcf5d8.js"></script><script src="/employers-v2/assets/constant.2148a57fae0954bcf5d8.js"></script><script src="/employers-v2/assets/vendor.2148a57fae0954bcf5d8.js"></script><script src="/employers-v2/assets/app.2148a57fae0954bcf5d8.js"></script></body></html>
Posted by: Guest on September-24-2021

Browse Popular Code Answers by Language