[thelist] Problems with "NAME" parameter in <INPUT TYPE="text" />
Stefan Schwarzer
st.schwarzer at geois.de
Mon Oct 2 04:52:35 CDT 2006
Just discovered something bizarre:
I am working with an Ajax AutoCompletion script, which asks for the
document.getElementById("selectedKeyword")
The HTML code is like this:
<input type="text" id="selectedKeyword" name="selectedKeyword"
tabindex="0" autocompletion="off" />
Now, the thing get's somewhat confusing:
- as long as I have the 'name="selectedKeyword"' in the HTML code
all browsers seem to reject the 'autocompletion="off"' parameter,
which avoids a drop down box for keywords already entered in an
earlier search;
- if I don't use the 'name="selectedKeyword"' the keyword is not
being transferred to the resulting page, thus showing all results
instead of those matching the keyword
Any idea what I do wrong? Or if there is a workaround?
Many thanks already for any hints.
More information about the thelist
mailing list