Custom form elements

Good day to all.
I looked at the vastness of the web, but anything sensible did not find...
In General, we need customization form elements such as checkbox/radio/select
Implementation or Prototype or jQuery or just JS
Correct work in modern browsers
Old and mobile browsers, if not supported, simply display the standard item
The ability to work the script with your events hinged on these items (preferably automatic, but explicit callback too)

Can someone tell me a miracle?
October 8th 19 at 02:42
6 answers
October 8th 19 at 02:44
Look at the implementation of forms
Where? On the registration page for example do not see anything supernatural where exactly to forms (do not consider validation) you need to use anything other than html+css - aliya_Grant65 commented on October 8th 19 at 02:47
October 8th 19 at 02:46
Well as far as I can see on the demo he on the select works fine and the radio does not handle the alert. At least for me in FF 10.0.2 - aliya_Grant65 commented on October 8th 19 at 02:49
October 8th 19 at 02:48
In Google Closure Library has a lot of interesting things. In particular Select - aliya_Grant65 commented on October 8th 19 at 02:51
Sorry. Did not write to You. I missed the links to "Write an answer" - aliya_Grant65 commented on October 8th 19 at 02:54
October 8th 19 at 02:50
As I wrote above, Google Closure Library is Select and it works pretty well. And a lot more. Additionally, you may see Qooxdoo and Dojo Toolkit c they Select
October 8th 19 at 02:52
What to customize checkboxes and radio? There is the most code to write will be faster than to figure out how to screw someone else. And select points like is jQuery UI.
October 8th 19 at 02:54
By the way, you do not forget that many emulated elements does not fully support the functionality of the native. For example, the same select statement many used to choose the item so we put the cursor on a collapsed item, presses the button, the item takes place, not pressing the button move the cursor on the desired item, press the button, there is a choice.

Only 1 of the 10 custom select support such work, and it is very frustrating when instead of the usual actions when you move the cursor while holding the button is the text selection or even drag and drop the item.

Google Closure Library supports this behavior, jqery ui, jNice, selectboxfactory, and many others. Chosen — only partially.
Tcert hell! That's about it feature SELECT I didn't even know that it is possible to select, without releasing the button (thought only in the menu it works). What interesting things can be found in the answers.

By the way, SELECT the idea is to react to the reset event of the form. - aliya_Grant65 commented on October 8th 19 at 02:57

Find more questions by tags jQueryLayouts and prototypesJavaScript