[Mapserver-users] Checkbox with java help
Kevin Slover
Kevin.Slover at noaa.gov
Thu Feb 13 05:36:05 PST 2003
Hello all!!
Looking for a little bit of help right now. The small problem is as
follows:
I am using a checkbox to select which layer is to be displayed.
Following a few of the examples out there, I have been able to get the
display to refresh on click. However, the checkbox becomes unchecked.
And I am only able to display one layer at a time... I am not sure where
the problem resides, I have looked at several other sites, and they have
the same code... mine is as follows:
function Refresh(){
document.mapserv.target = "";
document.mapserv.mode.value = "browse";
document.mapserv.submit();
}
<form name="mapserv" method=GET action="[program]">
<input type="checkbox" name="layer" value="florida_roads1" align="left"
onClick="Refresh();" > Roads 1<br>
etc.. etc... etc..
I am using jBox, with version 3.6.4 on a RH 7.2. Any ideas!
Thanks! Cheers!
--
LTJG Kevin Slover, NOAA
GIS Specialist/Oceanographer
NOAA/TPC/TSB/Storm Surge Unit
11691 SW 17th Street
Miami FL 33165
W (305) 229-4456
More information about the MapServer-users
mailing list