Forum Moderators: open
I maybe be posting in the wrong forums, but posting here as its browser related.
We have a few client machines using the proxy server (isa 2000) to retrieve an intranet webpage.
The webpage has a drop down box with a bunch of options. Selecting an option further down the list will revert the selection back to the 1st option on the list.
No matter what option is selected it reverts back to the 1st on the list.
If automatically detected settings and the proxy server option unticked, the selections stay selected on the option that was clicked on.
Can anyone provide a reason why this is happening.
3a when you submit it, it returns to the first item?
If #3, how long is the select list? This is unheard of (by me, anyway. :D )
If #3a, there has to be something put in place to "maintain" what's selected on submission. Let's say your select list is named "items". When you build the page, you must build it dynamically and if the list item matches what's submitted you add " selected." Using my favorite language perl,
@items= ('widget 1', 'widget 2', 'widget 3', 'widget 4');
$list = '<select name="items">';
foreach ($item @items) {
$list .= qq¦<option value=$item¦;
if ($item eq $qs{'item'}) { $list .= ' selected'; }
$list .= qq¦>$item</option>\n¦;
}
$list .= '<select>';
I'll stick my neck out and say am 99.9% its not a code issue with the page *.jps
Main reason I say this is, is because, when IE connection options are set to automaticaly detect with no proxy in place the drop down menu works.
In other words - a drop down menu which expands with several options to select from, selecting any option appart from the first one will revert the selection to the 1st available option.
ie.
option a
option b
option c
selection option b or c will revert back to option a, that is if the IE is if a manual proxy address is set in place. Even selecting bypass proxy for local addresses doesnt work, as the page in question is been called from a 192.168... local address
I should add, that this used to work tho goign through the proxy, and now it doesnt =/