I have a jumpmenu to which I’m trying to focus on a div tag on my web page. I used the standard Dreamweaver jumpmenu code and I’ve tried to alter the code so that it focuses on this div tag but I can’t seem to get it working. Here is what I have:
javascript:
function MM_jumpMenuGo(selName,targ,restore){ //v3.0
var selObj = MM_findObj(selName); if (selObj)
MM_jumpMenu(targ,selObj,restore);
}
html:
<form name="form1" id="form1">
<select name="citysearch">
<option value="#57">cityone</option>
<option value="#2">citytwo</option>
<option value="#tada">bottom</option>
</select>
<input type="button" name="Button1" value="Go"
onclick="MM_jumpMenuGo('citysearch','gmap',1)" />
The div tag that I’m trying to target has the ID and name of “gmap”. I must be linking something wrong. Please help.