Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16757

Re: Javascript for HTML select/option form with lots of entries

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Date Sat, 20 Oct 2012 20:47:32 +0200
From Luuk <luuk@invalid.lan>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version 1.0
Newsgroups comp.lang.javascript
Subject Re: Javascript for HTML select/option form with lots of entries
References <MPG.2aecb9811caf432998c82f@news.supernews.com> <9dkal9-c2a.ln1@luuk.invalid.lan> <MPG.2aecfff8798abcf498c830@news.supernews.com>
In-Reply-To <MPG.2aecfff8798abcf498c830@news.supernews.com>
Content-Type text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <t68bl9-uut.ln1@luuk.invalid.lan> (permalink)
Lines 33
NNTP-Posting-Host 2001:980:9089:1:78f2:70a3:6914:7a6e
X-Trace 1350759001 news.xs4all.nl 6857 [2001:980:9089:1:78f2:70a3:6914:7a6e]:58169
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.javascript:16757

Show key headers only | View raw


On 20-10-2012 19:38, Alfred Molon wrote:
> In article <9dkal9-c2a.ln1@luuk.invalid.lan>, Luuk says...
>> Google says:
>> http://www.raymondcamden.com/index.cfm/2012/6/14/Example-of-a-dynamic-HTML5-datalist-control
>>
>> or, to try this:
>> http://raymondcamden.com/demos/2012/jun/14/test2.html
>
> Very cool and runs on my FF browser. But does not run under IE (I tried
> with IE9).
>
> The behaviour is a bit different from what I described above. If you
> type for instance a '5', it shows all entries which contain a 5, not
> just those which start with a 5.
>

if i type 'l' (lowercase L)
i see:
Leaning House
Life is a Horse

so, only thing that start with an 'L'


> Is there anything which runs on all browsers?
>
> If at least the above code defaulted to the standard HTML select/option
> thing on browsers who do not support this HTML5 element, but no, on IE9
> it shows all options of the list as text (not selectable).
>

its using ajax (or jquery)
look at the code, and make it work for IE should not be so hard.....

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Javascript for HTML select/option form with lots of entries Alfred Molon <alfred_molon@yahoo.com> - 2012-10-20 14:37 +0200
  Re: Javascript for HTML select/option form with lots of entries Luuk <luuk@invalid.lan> - 2012-10-20 15:09 +0200
    Re: Javascript for HTML select/option form with lots of entries Alfred Molon <alfred_molon@yahoo.com> - 2012-10-20 19:38 +0200
      Re: Javascript for HTML select/option form with lots of entries Danny <dann90038@gmail.com> - 2012-10-20 11:40 -0700
        Re: Javascript for HTML select/option form with lots of entries Alfred Molon <alfred_molon@yahoo.com> - 2012-10-20 21:13 +0200
      Re: Javascript for HTML select/option form with lots of entries Luuk <luuk@invalid.lan> - 2012-10-20 20:47 +0200
        Re: Javascript for HTML select/option form with lots of entries Luuk <luuk@invalid.lan> - 2012-10-20 22:16 +0200
  Re: Javascript for HTML select/option form with lots of entries Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-24 02:21 +0100

csiph-web