In the project I am working on at the moment form elements (like <input>,<select>,<textarea> etc)
must have non-standard ‘look-n-feel’.
Which library or plugin (jQuery) can you recommend for this?
I have searched through some the available libraries, but did not find a library that suits my needs. All of them have ‘real’ – ‘fake’ element idea behid them.
The project has a lot of form elements created on-the-fly and injected into the DOM.
The main requirements are:
- Creation of ‘fake’ element/s on the fly.
- Ability to apply styles for one node or CSS selector (not the whole page).
- Non-intrusive events propagation between fake and real elements.
(Fake element should respond to changes in real element and send events occuring on it to the corresponding real element
like blur, focus, change, click. Library should take care about events propagation, not the code) - It should be compatible with IE7 and upwards.
- Should have good documentation and flexible public API
I am struggling with one library and almost “adapted” it to the requirements but it lacks documentation and the licencing is unclear
as to whether I can modify it.
Thank you very much for the help!
Kind regards.
You might have a look at Twitter Bootstrap. I believe it uses CSS to perform most of its tricks so you shouldn’t need the concept of a delegate component (the real/fake thing) to get a slightly more polished look and feel.