Firefox with Radio Inputs and it’s Annoying Autocomplete

I recently had problem with Firefox’s autocomplete when using a jQuery star rating plugin. The linked article explains the problem more in depth and the code snippet below should get you going.

if ($.browser.mozilla) {
  $("form").attr("autocomplete", "off");
}