Note that there are some explanatory texts on larger screens.

plurals
  1. POJquery Text is not visible in IE 7.0
    text
    copied!<p>The text is not getting displayed on my modal window. I do see a blank space but when i highlight it with mouse i see the text and when i click anywhere on the screen the text becomes invisible. It works in firefox, IE 6.0 and IE 8.0 but not in IE 7.0. Any suggestion is highly appreciated. Below is the code:</p> <p>var msg = "This is a test error message";</p> <p>showError(errormessage);</p> <p>UTILS.showError = function(error) {</p> <pre><code>if(error === null || error === undefined) { return; } error = UTILS.Verror(error); $("#validatorErrorDialog").remove(); $("#errorDialog").remove(); $("#warningDialog").remove(); $('div.confirmation').parent().hide(); var errorClone = $("#validatorErrorDialogHidden").clone(); errorClone.attr("id", "validatorErrorDialog"); var itemError = errorClone.find("ul.items li"); var itemErrorClone = itemError.clone(); var msgs = error.split("\n"); for(var i in msgs) { if (i == 0) { itemError.html(msgs[i]); } else { itemError.after(itemErrorClone.clone().html(unescape(msgs[i]))); } } errorClone.removeClass("hidden"); if (UTILS.showError.arguments.length &gt; 1) { var modalWindowId = UTILS.showError.arguments[1]; $(".windowBodyBox .clear:eq(2)", modalWindowId).after(errorClone); } else { if($('#openedModalId').length &gt; 0 &amp;&amp; $('#openedModalId').val() !== '') { var modalWindowId = $('#openedModalId').val(); errorClone.prependTo($(modalWindowId +" div.line").next()); } else { var index = $("#pageBodyIndex").val(); if (index === undefined || index &lt; 0 || index =='' || index =='') { index = 0; } errorClone.prependTo("div.pageBlockBody:eq("+index+")"); } } // tooltips $("#validatorErrorDialog").find(".tooltip").tooltip({ track: true, delay: 0, fixPNG: true, opacity: 0.95, showURL: false }); </code></pre> <p>};</p> <p>UTILS.Verror = function(errorMessage) { var patt1=new RegExp("{#[A-Za-z][A-Za-z0-9.:-_]*}", "g"); do { m =patt1.exec(errorMessage); if(m!=null &amp;&amp; m!= undefined) { s =''+m; s = s.substring(1,s.length-1); errorMessage=errorMessage.replace(''+m,$(s).val()); } } while(m!=null &amp;&amp; m!= undefined) { return errorMessage; } } </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload