On my webpage i use javascript to help the user pick out what case, and what color they want their case to be. This is basically what I do:
The onchange property on the first select invokes a function which figures out what they selected, and changes the contents of the second select depending on the choice in the first select, and changes the image.
When the user changes the second select, it invokes another fuction that also displays a picture depending on what color they chose.
This is done mainly using these type of statements:
[quote]
this.options[this.selectedIndex].lastChild.nodeValue=”blah”
This is to figure out what they have in the select.
Then to change the color I use an if statement using:
[quote]
document.getElementById(“blah”).lastChild.nodeValue=”blah”
this is all contained in one page of my site: [url]http://sigmaseven.net/p4_28_economy.htm
Now, since javascript does not work on 5 percent of the community, and I want my site to be accesible to all, is their anyway to do this in php? Any help would be awesome.