I'm a php coder with not much js experience. I've searched the web & forums for a solution for my problem but I just can't get it
I want to reduce the number of steps on a submission page with the help of JS. The user has to choose a category (<input select... ) on one page and submit his selection. On the next page the user has to choose some other options and addtional information determined by the category.
I'm looking for a script that makes it possible to choose the category and "onChange" replaces the whole content below. The html content for each option could be stored in a variable, but consists of text and different html tags.
Is there a possibility to get this work? I've read that once a document.write is done it can't be changed... :-/ But maybe there's another way?