How can i do an Ajax Post with a dropdown list? For example, I choose the first item, then, the id value of the li>a it will be sent to a php page (data.php). Do You Have Any Idea about this ?
<div style="width: 162px;">
<dl style="" class="dropdown">
<dt>
<a class="" id="linkglobal" style="cursor: pointer;"></a>
</dt>
<dd>
<ul style="display: none;" id="ulglobal">
<li><a id="1" href="#">One</a></li>
<li><a id="2" href="#">Two</a></li>
</ul>
</dd>
</dl>
<div>
thanks
Here is the working sample : http://jsfiddle.net/nGPw9/2/