Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32830
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2017-03-21 20:09 -0700 |
| References | (4 earlier) <87h92psfkr.fsf@bsb.me.uk> <b1217b03-6f5f-4bde-a5a0-614f7d6117a4@googlegroups.com> <878to0qlgx.fsf@bsb.me.uk> <40b0b1df-ba67-4f60-aed4-b66aa822dbe8@googlegroups.com> <871strpg5j.fsf@bsb.me.uk> |
| Message-ID | <c566c669-41c8-41bb-b932-90adcb54c010@googlegroups.com> (permalink) |
| Subject | Re: Alternative and fast option to some very useful jQuery features? |
| From | justaguy <lichunshen84@gmail.com> |
On Monday, March 20, 2017 at 9:33:48 PM UTC-4, Ben Bacarisse wrote: > justaguy writes: > > > On Monday, March 20, 2017 at 6:41:24 AM UTC-4, Ben Bacarisse wrote: > >> justaguy writes: > >> > >> > On Sunday, March 19, 2017 at 6:53:34 AM UTC-4, Ben Bacarisse wrote: > >> <snip> > >> >> Sure, but the idea is that the browser will simply suggest possible > >> >> items from the list when the user types. Support for this is not > >> >> universal, of course. > >> > > >> > Quick update. I tried it with Chrome (ver 56) and Firefox (ver 52). > >> > And I pass the selected value to a js function for further process > >> > with Event of "onInput", both seems to work. So far Chrome hasn't > >> > crashed but FF just crashed. Fyi, it's not my js function's problem, > >> > several persons including myself has been testing it for about a week, > >> > browser never crashed. > >> > >> What does "crash" mean in this case? > > > > Browser: FF (ver 52) > > Err msg: > > " > > Gah. Your tab just crashed. > > > > We can help you! > > > > Choose Restore This Tab to reload page content. > > ... > > " > > > > Condition: > > I changed the event from onInput to onSelect. I then changed it back, > > however, it still exhibited the same behavior (maybe because of > > cache). Today, I changed it to onSelect, expectedly it crashed again, > > I changed it back to onInput but it did not crash this time. > > > >> > >> > It raised concern in me if HTML5 "list" INPUT attribute is ready for > >> > production... > >> > >> Does it go wrong when there are no scripts at all? > > > > Well. I have a few js functions. But as mentioned in my previous, > > these functions have been working perfectly fine for some time. > > Hence, they are not likely the culprit. > > I suspect that list attributes have worked perfectly for some time too > (I've used them a lot and not seen an issues so far) so this is not a > compelling argument. The reason to remove the scripts is to get the > smallest error case you can. > > >>If not, why do you > >> think it's the list attribute? If it does, have you filed a bug? This > >> would be a significant help to the community. > > Do we still need to file a bug? > > I'd argue that nothing should cause that message to appear so it's a bug > one way or another, but if it's due to using nothing but the list > attribute then it's a very important one. > > If your test case involves a complex document with lots of scripts, it's > going to take much more effort to track down than a small test case. It > would be helpful if you can gradually reduce the complexity of the > document until you get as small a test case as you can that still > triggers the crash. I know this is non-trivial, but it helps everyone. > > -- > Ben. Here's my program flow in regard to the INPUT element select. (1) Produce a list of values via jQuery UI autocomplete or HTML5 "List" attribute. (2) Upon select of an element pass the element to a JavaScript function to take next step. And here's my observation about use experience, the jQuery seems to provide better user experience whereas HTML5 "List" seems a bit clumsy or was it because I'm new to it and this kind of nascence creates some strange feel about it? Cheers
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-16 18:09 -0700
Re: Alternative and fast option to some very useful jQuery features? jonas.thornvall@gmail.com - 2017-03-17 01:27 -0700
Re: Alternative and fast option to some very useful jQuery features? jonas.thornvall@gmail.com - 2017-03-17 01:48 -0700
Re: Alternative and fast option to some very useful jQuery features? JJ <jj4public@vfemail.net> - 2017-03-17 15:29 +0700
Re: Alternative and fast option to some very useful jQuery features? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-03-17 14:00 +0100
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-18 21:27 -0700
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-18 21:03 -0700
Re: Alternative and fast option to some very useful jQuery features? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-03-17 11:29 +0000
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-18 21:25 -0700
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-18 21:32 -0700
Re: Alternative and fast option to some very useful jQuery features? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-03-19 10:53 +0000
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-19 18:13 -0700
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-19 18:49 -0700
Re: Alternative and fast option to some very useful jQuery features? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-20 11:03 +0100
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-21 20:16 -0700
Re: Alternative and fast option to some very useful jQuery features? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-22 09:12 +0100
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-23 15:51 -0700
Re: Alternative and fast option to some very useful jQuery features? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-24 09:15 +0100
Re: Alternative and fast option to some very useful jQuery features? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-03-20 10:41 +0000
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-20 17:23 -0700
Re: Alternative and fast option to some very useful jQuery features? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-03-21 01:33 +0000
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-21 20:09 -0700
Re: Alternative and fast option to some very useful jQuery features? Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2017-03-17 20:11 +0800
Re: Alternative and fast option to some very useful jQuery features? justaguy <lichunshen84@gmail.com> - 2017-03-18 21:26 -0700
Re: Alternative and fast option to some very useful jQuery features? Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2017-03-19 17:39 +0800
csiph-web