title: bootstrap input field and dropdown button submit
body: <p>GOAL: To have a input box where a value can be typed, then to the right of that input box is a bootstrap dropdown button where they can select "Store Name, City, State or Zip".  </p>
  
  <p>They would type in name (say Walmart) and then select Store Name. When they select Store Name it would submit the form and send two post values to be handled by php:</p>
  
  <p>search term | search type</p>
  
  <p>Here is the code I have for the button:</p>
  
  <pre><code>&lt;form name="searchForm" id="searchForm" method="POST" /&gt;
        &lt;div class="input-append"&gt;
          &lt;input class="span2" id="appendedInputButton" type="text"&gt;
          &lt;div class="btn-group"&gt;
            &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt;
              Action
              &lt;span class="caret"&gt;&lt;/span&gt;
            &lt;/button&gt;
            &lt;ul class="dropdown-menu"&gt;
              &lt;li&gt;Search Store Names&lt;/li&gt;
              &lt;li&gt;Search City&lt;/li&gt;
              &lt;li&gt;Search State&lt;/li&gt;
              &lt;li&gt;Search Zip Code&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/form&gt;
  </code></pre>