variabel
Har lige et lille problem.<FORM NAME="problem" ACTION="xxxxxx.asp" METHOD="post">
<select name="probomr" onChange="skift(this.selectedIndex)">
function skift(){
omr = document.problem.probomr.value
if (omr == "") {
document.all.id0.style.display = 'block';
document.all.id1.style.display = 'none';
document.all.id2.style.display = 'none';
document.all.id3.style.display = 'none';
document.all.id4.style.display = 'none';
document.all.id5.style.display = 'none';
document.all.id6.style.display = 'none';
document.all.id7.style.display = 'none';
document.all.id8.style.display = 'none';
document.all.id9.style.display = 'none';
document.all.id10.style.display = 'none';
document.all.id11.style.display = 'none';
document.all.id12.style.display = 'none';
document.all.id13.style.display = 'none';
document.all.id14.style.display = 'none';
osv osv osv.
}
Spørgsmålet er nu: Hvordan får jeg indholdet af "probomr" eller "omr", som jo har det samme indhold ned i min aspdel?
Jeg har prøvet med:
omraade = Request.Form("probomr")
Men når jeg herefter udskriver variablen så er den tom!!
Håber i forstår og har en løsning på problemet
