Jquery - selector not selecting multiple checkboxes IE

Jquery - selector not selecting multiple checkboxes IE

In IE, The selector for multiple inputs is not working whereas in firefox it is. Below is the html.


  1. <td><input id="contactInfo.shippingAddress.city" name="contactInfo.shippingAddress.city" onchange="needToConfirm = true;" type="text" value="city" maxlength="100"/></td>
  2.    <td ><input id="contactInfo.shippingAddress.state" name="contactInfo.shippingAddress.state" onchange="needToConfirm = true;" type="text" value="state" maxlength="100"/></td>
  3.    <td><input id="contactInfo.shippingAddress.addressZipCode" name="contactInfo.shippingAddress.addressZipCode" onchange="needToConfirm = true;" type="text" value="123456" maxlength="10"/>
  4.    </td>
  5.    <td><select id="contactInfo.shippingAddress.country" name="contactInfo.shippingAddress.country" class="dropDown" onchange="needToConfirm = true;"></td>
and below is jquery selector used - 

  1. $("*[id^='contactInfo\\.shippingAddress']").val("");
Any thoughts as to where the problem might be.. ??