Tag: js
Differences between character counting in PHP and Javascript
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 […]
Episode 4: States and everything about them
In this lesson we’re going to learn how to create states, extend them and also how to control them