|
#1
|
|||
|
|||
|
A javascript error "Permission denied Error" is raised when script is
accessed from different frames. The pages in different frames are from the same URI It works in some of the Browsers IE6. Permission denied error occurs for the following client side script Environment : <a class="QuickNavElement" href="javascript:top._display.SetStatus()">setStat us</a> on the left frame. This link calls a function in another frame in a different asp page function SetStatus() { //Status des Fragebogens setzen if (IsDirty(document.form1)==false) { X = top._hidden2.RSExec("CheckRequiredOkay",document.f orm1.FK_Survey.value) //?berpr?fen, ob alle Pflichfelder gef?llt if (X.return_value==-1) { PreparePageChange() top._hidden2.SetDisplayStatus() } else alert("<%=LA_Mussfelder%>") } else { document.form1.SetStatus.value = -1 MySubmit(form1.FK_Block_ID.value,1) } } Dependent function function MySubmit(ps_which, ps_modus) { for (var i=0; i<gaAllDates.length-1; i++) { var elem=document.getElementById(gaAllDates[i]); if (elem==null) continue; //before save, we check all dates to be correct if (!CheckDateMinMax(elem)) { elem.focus(); return; } } //Fragebogen ?berpr?fen und abschicken if (ApproverComment == true){ top.mnmAllTopSetEnabled(false) document.form1.NB_ID.value = ps_which PreparePageChange() document.form1.submit() return true } if (top._hidden2.document.form1.ms2.value == 1) ; else { if (IsDirty(document.form1)==false) { top._hidden2.document.form1.ms2.value = 0 return false } if (top._hidden2.document.form1.rights.value == 1) return false if (CheckLoss() == false) return false if (CheckFrequence() == false) return false // if (!CheckRanges()) return false //// Bug 1899 - commented Prakash Nov 09 04 top._hidden2.document.form1.ms2.value = 1 CheckMusts() PreparePageChange() document.all.NB_ID.value = ps_which top._left.Loading.style.visibility = "visible" top._left.Loading.disabled = false top._left.Loading.innerHTML ="Saving..." document.form1.submit() } } |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Update installation fails | Harold Cataquet | Windows Update | 23 | 01-05-2006 05:17 PM |
| Troubleshoot update failure | DLS | Windows Update | 1 | 01-05-2006 05:03 PM |
| Cpu is messed up star creen is jummbled have the following errors | Max10 | Windows XP Help and Support | 0 | 01-05-2006 02:51 AM |
| Delay opening folders caused by dcom server process launcher service | None | Windows XP Help and Support | 5 | 01-05-2006 02:46 AM |
| Long delay before Drives & Files appear in My Computer & Address Bar | shizzlenizzlator@gmail.com | Windows XP Help and Support | 3 | 01-05-2006 02:44 AM |