This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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>

All Replies (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.