Friday, 19 August 2011

Jquery for ajex or jquery for redirecting page


function change_service(obj)
{
jQuery.ajax({
type: "GET",
url: "index.php?option=com_vmcheck&view=default",
data: "&id="+obj,
success: function(html){
jQuery("#circles").html(html);
}
});
}




 <select tabindex="50" name="s_provider" id="s_provider"  onchange="change_service(this.value);">
      <option>Select Service Provider</option>
      <option value="3">Airtel </option>
      <option value="Vodafone">Vodafone</option>
      <option value="Trump">Trump-MTNL-Mumbai</option>
      <option value="1">Reliance (CDMA)</option>
</select>The Help