| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi folks, I have a list Item in an ASP page, based on some conditions and the list selected another page is called. The header for my list is Parking........ and the lists are
some1 some2 some3 My question is How can I make parking the default when I come back from the called page. If I select any of the above list and I come back from the called page, the selected list is highlighted and if I clicked on parking I get a run time error as stated above. Please see the code below and advice <%if substr(GetQryVal("some_variable"),1,1) ="P" then %> <select style=" background-color:#000099; color:#FFFFFF; font-weight:bold; font-style:inherit " id="Parking" name="Parking" onChange="window.location.href(this.options[this.selectedIndex].value)"> <option selected>Parking ....</option> <% if isAuth("/some1.asp") then %> <option value="/some1.asp?&reset=reset&building_id=<%=getQryVal("building_id")%>">Some1</option> <%end if%> <% if isAuth("/some2.asp") then %> <option value="/some2.asp?&reset=reset&building_id=<%=getQryVal("building_id")%>">some2</option> <%end if%> <% if isAuth("/some3.asp") then %> <option value="/some3.asp?&reset=reset&building_id=<%=getQryVal("building_id")%>">some</option> <%end if%> </select> <% End if %> regards, |
|
#2
|
||||
|
||||
|
--moved to the Windows OS forum
you're looking in the wrong direction. that error got nothing to do with ASP. something is messing up your browser and causing it somehow to crash. what exactly do you mean by "if I clicked on parking"? |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows OS > An Unhandle exception IEXPLORER.EXE [1080] |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|