Call apex page from javascript , referer

I wanted to check whether apex is called from a browser session by entering an url or from an internet application. The command I wanted to use is: owa_util.get_cgi_env(‘HTTP_REFERER’); This command returns the (parent) url. However, when the apex application is called by using javascript ( this command wil return Read more…

Close Child Window

Closing a child (pop) window called by using javascript. Parent javascript:“″,””,”location=no,toolbar=no,menubar=no,status=no, resizable=1,width=700,height=500″); window.onunload = function() { if (popup && !popup.closed) { popup.close(); } };