Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
.value.length workaround for firefox
Old 11-02-2009, 07:14 PM .value.length workaround for firefox
Junior Talker

Posts: 2
Trades: 0
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
thestranger is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2009, 07:55 PM Re: .value.length workaround for firefox
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
cancel that. wrong language!!

Are you getting an error?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 11-02-2009 at 08:01 PM..
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to .value.length workaround for firefox
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09707 seconds with 12 queries