Search:
www.rocket99.com : Technical Guides Sybase Oracle UNIX Javascript


Technical Guides
Sybase
Oracle
UNIX
Javascript




After Work

Highlife Adventures
The best club in Chicago
for Chicago Singles is Highlife Adventures!


Jersey Girl Shirts
Are you looking for a
Jersey Girl T-Shirt ?



Kyoto Sushi
in Chicago, on Lincoln Ave.
Moody's Pub
in Chicago, has great burgers
Skylark
in Chicago, on Halsted .. excellent Friday fish fry!


Javascript » Methods » Coding » Troubleshooting

Pure virtual call error

     



This error occurs when working with multiple browser windows within
a javascript application. It seems to occur when the communication
mechanism between the open windows fails, during a close operation. When
an object containing a close call fails to work immediately, the
"pure virtual call" GPF will occur if the object is clicked multiple times.
If the object is clicked just once, the close operation will complete normally.




Two solutions to this problem are:


In the clicked event of the link, disable its address. This will nullify the effect of subsequent clicks.
 function f_exit()
 {
   document.links[4].href="";
   parent.close();
 }
 
Destroy the current frame within the clicked event. This can be done by performing a write to the document, and closing it.
 function f_exit()
 {
   document.write("Please wait ...");
   document.close();
   parent.close();
 }
 






Javascript : Related Topics

Javascript : Methods : Incrementing a counter within an edit field
Javascript : Methods : Animation Example
Javascript : Methods : Image Mapping Example
Javascript : Methods : Redirecting Page Access
Javascript : Methods : Loading a new page dynamically
Javascript : Methods : Complex Application with Forms
Javascript : Methods : Image Viewer with Prev and Next Buttons
Javascript : Methods : Array Processing, Frameset Writes
Javascript : Methods : Javascript: Where it fits in HTML
Javascript : Methods : Accessing the cookie file
Javascript : Methods : Using include files
Javascript : Methods : Passing variables to windows
Javascript : Methods : Executing Dynamic Code
Javascript : Methods : Single line edit: Data entry issue
Javascript : Methods : Call CGI counter
Javascript : Methods : Dynamic Objects and Names
Javascript : Methods : Setting Focus to a Control During Load

Sybase Web Site
Sybase Mobile Web Site
Oracle Web Site





Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site




Copyright © 2008 Citisoft Inc All Rights Reserved.