搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 个回答
  • 4 人有此问题
  • 1 次查看
  • 最后回复者为 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>

所有回复 (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.