Error trapping in new Window - newbie

Results 1 to 2 of 2

Thread: Error trapping in new Window - newbie

  1. #1
    Becca Guest

    Default Error trapping in new Window - newbie

    Hi,<BR> I am using Javascript for client side validation and VBScript for Server side validation.My application is indise a framework(in 4 frames).Whenever an error is found , it is trapped as <BR>&#060;%<BR> If Err Then <BR> errno = Err.Number<BR> errdescription = Err.description<BR>%&#062;<BR> &#060;script language = "javascript"<BR> location.href = "errorlogin.asp?" + "myerrno=" + <BR>&#060;%=errno %&#062; + "mydescription=" + &#060;%=errdescription"%&#062;<BR> &#060;/script&#062;<BR>&#060;%<BR> else <BR>&#039rest of the code <BR>%&#062;<BR><BR> In errorlogin.asp using a database i have used my own descriptions. But since my application is inside a framework, the error page gets displayed only in that frame.Is there by any means where i can display the error page in the entire Window.<BR> Any other alternatives to do this. <BR> Thanks for any help <BR><BR>Becca <BR> <BR><BR><BR>

  2. #2
    Sathiya Guest

    Default RE: Error trapping in new Window - newbie

    you need to use document.location to show the error<BR><BR>parent.FrameName.document.location = url<BR>the url may have your code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts