Code:
if(document.getElementById('id').value.length>=3){}
The element is a text box, and this conditional statement works properly in Safari. Is anyone aware of a different method to extract the number of characters in a text box? This does not work properly in firefox. I would be happy to provide my autosuggest from database PHP/JS code in return.
Thanks,
thestranger
|