ravipardeshi Posted February 3, 2009 Report Share Posted February 3, 2009 hi, i am displaying hidden TR in javascript. it is displaying fine in javascript. but it is working fine in IE. but not it display in wrong column in mozilla. can u please help me for that. thanx in advance. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 3, 2009 Report Share Posted February 3, 2009 you'll need to post the code so we can look at it. Quote Link to comment Share on other sites More sharing options...
ravipardeshi Posted February 3, 2009 Author Report Share Posted February 3, 2009 / > " alt="Open Forms" src="" style="cursor:hand" onclick="showHideAttachment(,'image','')"> ','','')" class="hand"> ','','')" class="tblrow-sp" style="text-decoration:none" class="hand"> javascript functions --> function loadForms() { var i=0; document.getElementById("row"+i).style.display="block"; document.getElementById("row"+i).style.position = 'relative'; document.getElementById("row"+i).style.overflow = 'auto'; document.getElementById("row"+i).style.position = 'relative'; document.getElementById("row"+i).style.display="none"; document.getElementById("row"+i).style.position = 'relative'; document.getElementById("row"+i).style.overflow = 'auto'; document.getElementById("row"+i).style.position = 'relative'; i++; } function showHideAllAttachments() { if(document.getElementById("imageMain").alt == "Open All Forms") { document.getElementById('image').alt = "Open Forms"; showHideAttachment(,'image',''); document.getElementById("imageMain").alt="Close All Forms"; document.getElementById("imageMain").src=""; } else { document.getElementById('image').alt = "Close Forms"; showHideAttachment(,'image',''); document.getElementById("imageMain").alt="Open All Forms"; document.getElementById("imageMain").src=""; } } function showHideAttachment(primaryId,imgId,formGroup) { var attachId; var attachCnt = 0 ; //getFormCount(formGroup); if('' == formGroup){ attachCnt++; } if(document.getElementById(imgId).alt == "Open Forms") { var count = parseInt(primaryId) + 1 ; for( i=count; i< (count + attachCnt);i++) { document.getElementById("row"+i).style.display="block"; document.getElementById("row"+i).style.position = 'relative'; document.getElementById("row"+i).style.overflow = 'auto'; document.getElementById("row"+i).style.position = 'relative'; } document.getElementById(imgId).src=""; document.getElementById(imgId).alt="Close Forms"; } else { var count = parseInt(primaryId) + 1 ; for( i=count; i<(count + attachCnt);i++) { document.getElementById("row"+i).style.display="none"; document.getElementById("row"+i).style.position = 'relative'; document.getElementById("row"+i).style.overflow = 'auto'; document.getElementById("row"+i).style.position = 'relative'; } document.getElementById(imgId).src=""; document.getElementById(imgId).alt="Open Forms" } } Quote Link to comment Share on other sites More sharing options...
ravipardeshi Posted February 3, 2009 Author Report Share Posted February 3, 2009 any one please help me. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 3, 2009 Report Share Posted February 3, 2009 You'll just have to be patient... I've taken a look at it, but this goes beyond my experience (I believe this is written using JSTL? and I know very little about it) so someone else will have to take a look at it. If anyone else is confused, look at http://www.exampledepot.com/egs/javax.servlet.jsp.jstl.core/if.html Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 3, 2009 Report Share Posted February 3, 2009 I should also point out, most of the members here are either from the U.S. or from England, so responses may be delayed if you are in a different time zone. Expecting an answer within 45 minutes of posting the topic, especially at this time of day, is a bit of a stretch. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.