Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Select Inputs dynamic changes with Niceforms
Old 05-23-2010, 01:07 PM Select Inputs dynamic changes with Niceforms
Junior Talker

Posts: 2
Trades: 0
Hello,
I have a huge problem that I cannot solve. I built my site using a lot of forms, which I styled using Niceforms script (you can read about it on http://www.emblematiq.com/lab/niceforms/).

Quote:
How Does It Work?

The idea is simple: since normal input fields (including radio buttons, checkboxes, textareas, etc) can only be styled to a small degree, they have to be hidden and their visual appearance replaced with similar working, new, fully customizable constructs. In theory, that doesn't sound really complicated. But from theory to practice there is a long way.

Starting with the basic XHTML code for a web form, Niceforms parses the DOM tree, gets all the input fields, hides them, and positions their new graphical appearance in place. All this is done while preserving the date transfer and selection features of the regular form. Everything is done via javascript.
But after I finished my work, I realized that I cannot use dynamically changing select input. (you have to choose an option from first input to be able to choose an option from second one).
Here you can see what I'm talking about:

How it should works:
http://shdw.pl/tmp/niceforms-problem/good.html

My styled form:
http://shdw.pl/tmp/niceforms-problem/wrong.html

In fact I think it works fine with my form too, but you just cannot see this, because real input is hidden under styled one, that just don't change how I want it to.
Does anyone know a solution how to get this thing work? How to change it dynamically without reloading a page?

Thanks, Regards,
Kamil
shdw is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Select Inputs dynamic changes with Niceforms
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22450 seconds with 12 queries