Re: Problem with HTML datalist tag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 14, 2014 at 11:09 AM, barry kimelman <barryk_apache@xxxxxxxxxxx> wrote:
Hello,
 
my laptop at the office is windows 7 with internet explorer 10.
 
our apache server is version 2.2.3 running on a Linux system.
 
I have a small HTML test file with a <datalist> tag that works fine when runlocally through the browser.
 
However when I send the file up to the apache server and then attempt to display the web page with the <datalist> tag it does not display correctly. I just see an input box with the contents of the datalist tag choices displayed beside it. I have checked the apache error log and there was no entry of any klind for my web page. Why does the apache web server somehow manage to mess up my simple little web page which is as follows :
 
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Datalist</TITLE>
</HEAD>
<BODY>
<H1>Datalist</H1>
<input type="text" name="product" list="productName"/>
<datalist id="productName">
    <option value="Pen">Pen</option>
    <option value="Stapler">Stapler</option>
    <option value="Pencil">Pencil</option>
    <option value="Eraser">Eraser</option>
    <option value="Paper">Paper</option>
</datalist>
</BODY>
</HTML>


If you suspect that it is a web server issue, use browser developer tools to confirm that the data and content-type of the file is sent as expected.  Presumably it is sent bit for bit the same, but there is a chance that some metadata is wrong, such as if you are using a non-standard file extension for the media type or your server is strangely configured.

Otherwise, you could probably get better help from a HTML-related group.

--
Born in Roswell... married an alien...
http://emptyhammock.com/


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux