CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Dependent List box problem in PHP

Print topic Send  topic

Author Message
abhay2804

Posts: 3
Posted: 11/19/2008, 1:30 AM

We have problem while Implementing Dependent List box in a page. We already have Javascript code in a page if we have implementing Dependent Listbox then its not working. instead of this if we implement in new page (which does not have other javascript code) then its working.

View profile  Send private message
maxhugen

Posts: 272
Posted: 12/04/2008, 7:39 PM

The Dependent Listbox uses the prototype script: /js/pt/prototype.js

You could try checking if any of your custom javascript functions has a name that exists in the prototype script.
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message
abhay2804

Posts: 3
Posted: 12/23/2008, 11:08 PM

Quote maxhugen:
The Dependent Listbox uses the prototype script: /js/pt/prototype.js

You could try checking if any of your custom javascript functions has a name that exists in the prototype script.
on load event I have add try catch block for
CCT_BindDependentListBox
i got error

---------------------------
Microsoft Internet Explorer
---------------------------
'this.form.timesheetActivity1' is null or not an object
---------------------------
OK
---------------------------
please suggest me what to do? how to implement dependent list box ?
View profile  Send private message
damian

Posts: 838
Posted: 12/24/2008, 5:27 AM

you may simply find that only one of your onload functions is executing - see this old post to see if the fix (not the ecxact problem) is what you need...
_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
abhay2804

Posts: 3
Posted: 12/25/2008, 9:02 PM

Quote damian:
you may simply find that only one of your onload functions is executing - see this old post to see if the fix (not the ecxact problem) is what you need...


Hi,
If I use Ajax then while click on listbox i got error message ---------------------------
Microsoft Internet Explorer
---------------------------
Wrong server response:

[ ]
...
---------------------------
OK
---------------------------
can u suggest me where I am wroung ?.
View profile  Send private message
damian

Posts: 838
Posted: 12/26/2008, 1:18 PM

there isnt a problem with your dependant list box code because it works on other page without other javascript
there isnt a problem with the other javascript because it works on other page without dependant list boxes

try changing the order of your 2 javascripts - does the dependant list box now work and the oher fail?

if that is the case then i still think it is to do with the onload functions

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.