When you’re using the Visual Studio Code’s ESLint plugin (with TypeScript), you might get this error in the first character of the document.
This is simple Vanilla JS script that will allow you to show one element from the set using basic percentage probability.
Read more and check how cool your forms might be! Click multiple times and ratatatatatatatatata…
I’ve created simple JS glitcher based on jQuery for fun. It has framework like structure so you can easily extend it’s effects. Check JSFiddle for demo or Gist for raw code.
I’ve recently codded my own validation rules for forms. I’m checking length of a string on a client side and also on a server side (obviously it’s a good practice). After my script went on a production, users started to complain about validation errors (even if data in a form was passed proper). This is […]
Here’s a method to create horizontal color fill preloader using svg, js and a bit of CSS. Enjoy: https://jsfiddle.net/fedek6/nd6huxkr/1/
Sometimes component that you want to use in your project isn’t available in Bower repo. There is a way to install it, even in very specified version. Go to project’s Github, in my case it’s here. Copy URL from the browser, and paste it somewhere. Now go to relases and click commit id that you’re interested […]
Sometimes you need to make mass operation on houndreds of records in Vtiger. Well in this case it’s 500 ones maximum… Well this is kinda stupid because it can surely handle up to thousands. How do I know? I’ve hacked the code and successfully converted 2000 leads 🙂 Well it takes some time but it […]
I’ve recently ran into this scenario: there is a single input field with dimensions in a height x width x depth format. What we can do to force/guide user to use propper format?