Jump to content
Killersites Forums

ravipardeshi

Member
  • Posts

    7
  • Joined

  • Last visited

ravipardeshi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hi, my code is --> on click of cancel it should be reseated to previously present in ModelAnd View(MAV) object code is document.getElementById('ruleDesc').value = ''; but m getting javascript error while setting tht one i view tht source in IE. that is because of it looks like -> document.getElementById('ruleDesc').value = 'this is the data from database ok ?' if there is \n in database it will go to next line because of that ' after document.getElementById('ruleDesc').value is not completed can u please help me about that problem. thanx in advance.
  2. m not getting what u r saying. can u please explain me tht one.
  3. hi, m getting ' page instead of Apostrophe ( ' ). can u please help me about that. thanx in advance. code is --> document.getElementById("corpName").value = ''; suppose in text box in insert "Beneficiary's" after saving it display Beneficiary's.
  4. / > " 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" } }
  5. 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.
×
×
  • Create New...