PHP Classes

Linked drop downs

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  How to Show Google Ma...  >  All threads  >  Linked drop downs  >  (Un) Subscribe thread alerts  
Subject:Linked drop downs
Summary:Linked drop downs not working in Mozilla firefox
Messages:6
Author:Brian Read
Date:2009-05-09 16:47:24
Update:2009-05-11 16:56:32
 

  1. Linked drop downs   Reply   Report abuse  
Picture of Brian Read Brian Read - 2009-05-09 16:47:24
I am using your package in the following site:

avantirooms.com


The top 3 drop down boxes are linked, a good example is USA/New York/Bronx

Using IE (7) it works fine, all 3 boxes link together.

Using firefox 3 under Windows the first two link, but the 3rd does not.

Using firefox under Linux (centos5.3-64 in this case), neither the 2nd nor the 3rd boxes are linked in.

Not tried it on a MAC or with Opera, Chrome, etc.

Try it...

Any good ideas?

  2. Re: Linked drop downs   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-05-10 01:13:44 - In reply to message 1 from Brian Read
It seems you have Javascript errors that prevent it to run on Firefox. Here I see a Javascript error in your page that says "too much recursion".

Try using Firebug or a Javascript debugger extension to find what is causing that error.

  3. Re: Linked drop downs   Reply   Report abuse  
Picture of Brian Read Brian Read - 2009-05-11 10:21:53 - In reply to message 2 from Manuel Lemos
The data for the pull downs is very large, perhaps that is the problem - not sure if that is configurable or not.

I am not (yet?) skilled at debugging javascript, I'll need to do a lot more background work before I could "find" the problem (I guess that is one reason using your package).

I don't even see the error message - where does it display?

  4. Re: Linked drop downs   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-05-11 14:44:57 - In reply to message 3 from Brian Read
The linked select input does not generate code that call recursively. It is probably some other Javascript code in your page.

Install Firebug add-on and the errors will appear in Firebug console.

  5. Re: Linked drop downs   Reply   Report abuse  
Picture of Brian Read Brian Read - 2009-05-11 16:34:51 - In reply to message 4 from Manuel Lemos
I can see the error in the firebug console, but it does not help me to identify where the error is (a stack trace would help), I have looked through the javascript and cannot see any recursive functions there.

  6. Re: Linked drop downs   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-05-11 16:56:32 - In reply to message 5 from Brian Read
You can also install the Javascript Debugger extension and trace the error.