The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
I had a situation where I needed to check if an input field was empty to determine whether or not to send it to the server. But I wanted it trimmed so that spaces weren't sent, as there's no point sending it for it only to come back again saying gimme some actual content. Hence a requirement for a handy if-empty-trimmed conditional. Then trimming can happen on the server as required.
I had a situation where I needed to check if an input field was empty to determine whether or not to send it to the server. But I wanted it trimmed so that spaces weren't sent, as there's no point sending it for it only to come back again saying gimme some actual content. Hence a requirement for a handy if-empty-trimmed conditional. Then trimming can happen on the server as required.
This is now on the branch.