# Jumpmenu and div tag

**URL:** https://forum.kirupa.com/t/jumpmenu-and-div-tag/181220
**Category:** web dev
**Created:** [March 7, 2006, 1:52pm UTC](https://forum.kirupa.com/t/jumpmenu-and-div-tag/181220 "2006-03-07T13:52:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bigbstanley](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)
#### Post date: [March 7, 2006, 1:52pm UTC](https://forum.kirupa.com/t/jumpmenu-and-div-tag/181220/1 "2006-03-07T13:52:33Z")

</div>

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:**

```auto
function MM_jumpMenuGo(selName,targ,restore){ //v3.0 
   var selObj = MM_findObj(selName); if (selObj) 
 MM_jumpMenu(targ,selObj,restore); 
 
}

```

**html:**

```auto
<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.
