Character Limit in HTML

There are 2 main solutions: The pure HTML one: <input type=”text” id=”Textbox” name=”Textbox” maxlength=”10″ /> The JavaScript one (attach it to a onKey Event): function limitText(limitField, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } } But anyway, there is no good solution. You can not adapt to every client’s bad HTML … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)