title: how to get button value on click
body: <p>my url is like this i want to pass itemid in url</p>
  
  <p><a href="http://localhost/today/screen.php?itemId=Rose+Petal" rel="nofollow">http://localhost/today/screen.php?itemId=Rose+Petal</a></p>
  
  <p>i want value in url like this</p>
  
  <p><a href="http://localhost/today/screen.php?itemId=1" rel="nofollow">http://localhost/today/screen.php?itemId=1</a></p>
  
  <p>if pass itemid in hidden than it pass all id  but i want to pass only click itemid in url how it is possible </p>
  
  <pre><code>{section name="sec" loop=$itemArray}
  &lt;input type="submit" class="btn" value="{$itemArray[sec].itemNm}" name="itemId" onclick="getorder();"&gt;
  {/section}
  </code></pre>