troubleshooting Question

Problems with modified niceforms, can't get it working properly

Avatar of Barraca
BarracaFlag for Spain asked on
JavaScriptJScriptAJAX
6 Comments1 Solution974 ViewsLast Modified:
Dear Experts,
I have a problem that I have tried to fix for some days now with no luck, I am using niceforms in a site I am developing, niceforms has caused me a real headache, one problem after another. Finally I got a modified version that supported onchange event, and things seemed to get better.

The problem now is that you must do things twice as if it had a delay, for example in a select list you select option3, and nothing happens, afterwards you must select again option3 and it will work, if you select option 4 it will get option 3, if you select option 1 it will get option4 (always with 1clic delay).

What can I do?, obviously there is something wrong in niceforms.js because If niceforms.js is not loaded the site works well ( http://www.incorpora.net/empresas/control/new_presupuesto2.php ).

I hope you undestand what I mean, please visit http://www.incorpora.net/empresas/control/new_presupuesto2.php and where is says "Provincia del puesto vacante*" select Castellón for example, and see in the right in "coste de selección" that nothing happens, select again Castellón or another region, and you will see what I mean.

Thank you in advance and sorry for my terrible English.

The event I use is:
<select name="provincia" class="width_320" id="tiempo3" onchange="javascript:calcula(this.value);">
niceforms-js-code.txt
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros