Pessoal, estou usando jquery para implementar máscara de cpf e de pis numa tela, o que acontece é que com IE funciona 100% em qualquer versão mas com Firefox não rola nem a pau. Estou usando JSF com RichFaces segue trechos dos códigos:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>SAAF</title>
<link rel="stylesheet" href="css/principal.css" type="text/css" />
<link rel="stylesheet" href="css/formulario.css" type="text/css" />
<script type="text/javascript" src="js/tratamentoDeCampos.js"></script>
[u]<script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="js/jquery.maskedinput-1.2.2.js"></script>[/u]
</head>
<h:inputText value="#{pessoaFisicaMB.pessoaFisica.cpf}" style="width:200px;" id="cpf" >
<rich:jQuery selector="input[id$='cpf']" query="mask('[CPF removido]')" timing="onload"/>
</h:inputText>
<h:form id="formulario">