We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Caută ajutor

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.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

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...

  • 1 răspuns
  • 4 au această problemă
  • 1 vizualizare
  • Ultimul răspuns de the-edmeister

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>

Toate răspunsurile (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.