PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi
I have written a PHP & ajax script which dynamically select a dependent dropdown select box. The script is running perfectly in Firefox but not in Internet Explorer & Safari. I have to run the script in all the browser perfectly. If there is any error in my script,please help me to solve it out. I don't know DOM technology. I have to run the script perfectly in IE.
what issue are you facing exactly?
well, what i could see in your ajax script was that on line number 3 and line number 25, you have declared xmlhttp as var twice. just do it once on the top. may be that will solve the issue. let us know if that works out and if not, tell us what exactly is your problem?
No, the problem is not solved yet.
The problem which I am facing: function:
The "category" drop down select box select a category and depend from this selected category the list of area of interest will be shown in" Area of Interest" select box. It is dependent dynamic drop down select box. problem: this functionality is perfectly shown in Firefox but not in Internet Explorer. Whenever a category is selected from category drop down down select box, Area of Interest drop down box remains blank.
I need to show the script perfectly in Internet Explorer.
you would need to format the ajax response using some character combination to separate text and value pairs for select. Then using the split function of javascript integrate similar logic to what i've posted .