Page 1 of 1

form -- non editable text area

Posted: Sun Oct 12, 2008 10:43 am
by andyb2
Hi,

I have a wordpress (2.6) blog with a search function embedded as a form.
I can not edit the text box in Firefox (1..5, 2, 3), Safari or Chrome but i can in IE

The code for the form is:

<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF'] ?> ">
<input type="text" id="search" name="search" size="15" value="" >
<input type="image" name="submit" src="search.gif" align="top">
</form>

But if save a page from the blog, open it in dreamweaver, then view it in firefox, the text box is editable.

Any ideas what is going on??

cheers
Andy
Edit/Delete Message

Re: form -- non editable text area

Posted: Sun Oct 12, 2008 11:01 am
by alex.barylski
Comment out all javascript and CSS and see if that works in all browsers.

Then start un-commenting each line and included file step by step and testing for failure. When you found the file or code line responsible, fix it or post it here and maybe we can help you further.

Re: form -- non editable text area

Posted: Sun Oct 12, 2008 1:20 pm
by andyb2
thanks for the tip.

As i was debugging i found the problem.
i had added onmousedown="return false" onselectstart="return false" in the body tag.

All resolved now. cheers

Andy