Bonjour à tous,
mon javascript marche sous IE mais pas sous Firefox. Je ne vois pas d'où vient le problème, quelqu'un pourrait m'aider svp ?
L'erreur qui s'affiche (à l'aide d'un debugger):
<!-- BEGIN TEMPLATE: bbcode_quote -->
Citation:
document.frmFilter has no properties
<!-- END TEMPLATE: bbcode_quote -->Voici l'essentiel du code source de ma page:
<!-- BEGIN TEMPLATE: bbcode_code -->
Code :
<!--[if !IE]><--><!----><!--[endif]--><!--[if IE]>
<![endif]-->
<form name="frmFilter" method="post" action="Filter.aspx?FilterType=2" id="frmFilter">
<TABLE WIDTH="272" HEIGHT="100%" CELLPADDING="0" CELLSPACING="0" ALIGN="center" BORDER="0">
<table width="100%" cellpadding="0" cellSpacing="0" align="center" border="0" id="filter_1">
<td width="35%" height="35">"lblField1"class="bfont">Field:</span></td>
<!-- END TEMPLATE: bbcode_code -->Voici la ligne de mon script où y a l'erreur:
<!-- BEGIN TEMPLATE: bbcode_code -->
Code :
<!--[if !IE]><--><!----><!--[endif]--><!--[if IE]>
<![endif]-->
var sCondition1 = ProjectFilterSetCond(contents.frmFilter.ddlFields1, contents.frmFilter.txtInput1,contents.frmFilter.ddlSelect1, contents.frmFilter.ddlCond1);
<!-- END TEMPLATE: bbcode_code -->Merci d'avance pour votre aide !!