Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/03/2010, 03:30
Oracio
 
Fecha de Ingreso: febrero-2008
Mensajes: 35
Antigüedad: 16 años, 2 meses
Puntos: 0
Funcion que no va en Firefox.

Hola, tengo una funcion que en algunos casos no me va en firefox; en IE y opera10 funciona perfectamente.

La funcion es esta:
Código:
$(document).ready(function(){
  	$("#TheSubmitButton").after('<?php echo tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/button_continue.gif', '', '', '', ' id="TheDisabledButton" style="display:none;cursor:not-allowed;filter:alpha(opacity=33);-moz-opacity:.33;opacity:.33;" onMouseOut="warningoff()" onMouseOver="warningon()"'); ?>');
	if(!$("#TermsAgree").attr("checked")){ //if it isnt checked the button should be disabled
		disablebutton();
	}
});
La funcion está dentro de un archivo php y este archivo es llamado desde otros archivos, solamente en uno de ellos y en firefox no me va, no se carga el contenido y en el navegador aparece esto en texto plano: '); if(!$("#TermsAgree").attr("checked")){ //if it isnt checked the button should be disabled disablebutton(); } }); //--> .

Agradezco cualquier ayuda.

Slds.