ellandrd
asked on
firefox - disabled button not working
<form name="myform" action="http://www.antons-law.com/ff/properties/global.php" method="post" style="margin:0px 0px 0px 0px;">
<p><input type="text" value="" name="property_search" onKeyUp='this.form.submit. disabled=( this.value =="");' style="width:95px;">
<input type="submit" name="submit" value="Find" disabled></p>
</form>
cant seem to get this working in firefox
any ideas?
<p><input type="text" value="" name="property_search" onKeyUp='this.form.submit.
<input type="submit" name="submit" value="Find" disabled></p>
</form>
cant seem to get this working in firefox
any ideas?
ASKER
the button isnt disabled...
ASKER
the button should be disabled until the user starts typing into the textfield
The button is disabled when I try your code and when I open the page
http://www.antons-law.com/properties/ff/index.php
Could it be cache problems?
http://www.antons-law.com/properties/ff/index.php
Could it be cache problems?
ASKER
>>Could it be cache problems?
i'll clear my cache...
i'll clear my cache...
ASKER
no still not disabled
Works in my 1.0.4 under win2k too
ASKER
well not for me??
getting confused and worried
getting confused and worried
ASKER
you can see my screen dump here...
http://www.antons-law.com/properties/ff/error.bmp
total visitors is ok, but online is blank, for batalf, the search button is still not disabled for me...
http://www.antons-law.com/properties/ff/error.bmp
total visitors is ok, but online is blank, for batalf, the search button is still not disabled for me...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok im well confused, ive just got my boss to view the page in firefox and its working fine, but yet when i view it, its not disabled... clearing cache in firefox:
this is what im doing:
tools>options>privacy>cach e>click clear>OK...
dont see anything taken a long time ot clear, not like IE, were i could be waiting for a minute for the cache to clear...
this is what im doing:
tools>options>privacy>cach
dont see anything taken a long time ot clear, not like IE, were i could be waiting for a minute for the cache to clear...
ASKER
batalf
that code has made 2 textfields now...:
look:
http://www.antons-law.com/properties/ff/index.php
that code has made 2 textfields now...:
look:
http://www.antons-law.com/properties/ff/index.php
ASKER
if you typ in the first textfield, the second textfield is enabled. if clear 1st field of text, 2nd is disabled
Sorry, the line
<input type="submitButton" name="submitButton" value="Find" disabled></p>
should be
<input type="submit" name="submitButton" value="Find" disabled></p>
<input type="submitButton" name="submitButton" value="Find" disabled></p>
should be
<input type="submit" name="submitButton" value="Find" disabled></p>
What problems do you experience?
Batalf