What is the best way to test for an empty string with jquery-out-of-the-box, i.e. without plugins? I tried this.
But it did\'t work at least out-of-the-box. It woul
Try this
if(!a || a.length === 0)