I have faced this problem and it took me awhile to figure out what was the problem, while the same code worked find on Explorer but didn't on Firefox.
It looks that Firefox is sensitive to the structure of how you write your code, so you must well format your form tags and other html tags.
In my case I included the cfform inside the html table while I shouldn't do this I should start by the cfform then the table, please see the code below:
<cfform format="html" method="post" action="">
<table width="50%" align="center" border="0">
<tr><td class="text3">Member:
<cfinput name="username" type="text" autosuggest="#list#" label="Username:" size="30"/></td>
<td class="text3"><cfinput name="submit" type="submit" value="Show User"/></td></tr>
</table>
</cfform>
The #list# variable is a list that was generated from a query and has a list of names.
It looks that Firefox is sensitive to the structure of how you write your code, so you must well format your form tags and other html tags.
In my case I included the cfform inside the html table while I shouldn't do this I should start by the cfform then the table, please see the code below:
<cfform format="html" method="post" action="">
<table width="50%" align="center" border="0">
<tr><td class="text3">Member:
<cfinput name="username" type="text" autosuggest="#list#" label="Username:" size="30"/></td>
<td class="text3"><cfinput name="submit" type="submit" value="Show User"/></td></tr>
</table>
</cfform>
The #list# variable is a list that was generated from a query and has a list of names.
Comments
Post a Comment