搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Given Below the java script its not working in Firefox.. The is loading but values is not displaying Firefox But Same code its working in Internet Explorer...

more options

Dear Firefox Team,

Given Below the java script its not working in Firefox.. The is loading but values is not displaying Firefox But Same code its working in Internet Explorer...

Please Help Me..

Java Script Code:

<script language="javascript" type="text/javascript">

var dg = document.getElementById; var displayContainerPanel, filterContainerPanel, filterOrContainerPanel, hidASRTPostBox, items = {};

function asrt_Load() { hidASRTPostBox = dg('<% = hidASRTPostBox.ClientID.ToString() %>');

displayContainerPanel = new ContainerPanel(); with( displayContainerPanel ) { setPanelType( 'REMOVE_LEFT_ITEM_ONCLICK' ); setUniqueId( 'DisplayFields' ); } filterContainerPanel = new ContainerPanel(); with( filterContainerPanel ) { setPanelType( 'KEEP_LEFT_ITEM_ONCLICK' ); setUniqueId( 'FilterFields' ); } filterOrContainerPanel = new ContainerPanel(); with( filterOrContainerPanel ) { setPanelType( 'KEEP_LEFT_ITEM_ONCLICK' ); setUniqueId( 'FilterORFields' ); }

displayContainerPanel.render( dg( 'displayPlaceHolder' ) ); filterContainerPanel.render( dg( 'filterPlaceHolder' ) ); filterOrContainerPanel.render( dg( 'filterORPlaceHolder') ); loadItems( <%= JSONReportDescription.ToString() %> ); } registerWindowLoadEvent( asrt_Load, false );

function pptClick(pathToJS) {

   var targetSizeOpen = "scrollbars=yes,height=150px,width=800px,status=yes";

var hiddenTxt = document.getElementById('<%=pptAnswer.ClientID%>'); var ans = confirm('Include Red or Yellow fields? \n (ok=yes / cancel=no)'); if (ans) { hiddenTxt.value = 'true'; } else { hiddenTxt.value = 'false'; }

   pathToJS = pathToJS + "&incShare=";
   pathToJS = pathToJS + hiddenTxt.value;
   window.open(pathToJS,'ConformationScreen',targetSizeOpen);

}

</script>

Dear Firefox Team, Given Below the java script its not working in Firefox.. The is loading but values is not displaying Firefox But Same code its working in Internet Explorer... Please Help Me.. '''Java Script Code:''' <script language="javascript" type="text/javascript"> var dg = document.getElementById; var displayContainerPanel, filterContainerPanel, filterOrContainerPanel, hidASRTPostBox, items = {}; function asrt_Load() { hidASRTPostBox = dg('<% = hidASRTPostBox.ClientID.ToString() %>'); displayContainerPanel = new ContainerPanel(); with( displayContainerPanel ) { setPanelType( 'REMOVE_LEFT_ITEM_ONCLICK' ); setUniqueId( 'DisplayFields' ); } filterContainerPanel = new ContainerPanel(); with( filterContainerPanel ) { setPanelType( 'KEEP_LEFT_ITEM_ONCLICK' ); setUniqueId( 'FilterFields' ); } filterOrContainerPanel = new ContainerPanel(); with( filterOrContainerPanel ) { setPanelType( 'KEEP_LEFT_ITEM_ONCLICK' ); setUniqueId( 'FilterORFields' ); } displayContainerPanel.render( dg( 'displayPlaceHolder' ) ); filterContainerPanel.render( dg( 'filterPlaceHolder' ) ); filterOrContainerPanel.render( dg( 'filterORPlaceHolder') ); loadItems( <%= JSONReportDescription.ToString() %> ); } registerWindowLoadEvent( asrt_Load, false ); function pptClick(pathToJS) { var targetSizeOpen = "scrollbars=yes,height=150px,width=800px,status=yes"; var hiddenTxt = document.getElementById('<%=pptAnswer.ClientID%>'); var ans = confirm('Include Red or Yellow fields? \n (ok=yes / cancel=no)'); if (ans) { hiddenTxt.value = 'true'; } else { hiddenTxt.value = 'false'; } pathToJS = pathToJS + "&incShare="; pathToJS = pathToJS + hiddenTxt.value; window.open(pathToJS,'ConformationScreen',targetSizeOpen); } </script>

所有回覆 (1)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.