La funcion es esta:
Código:
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(); } }); //--> .$(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(); } });
Agradezco cualquier ayuda.
Slds.