G
Guest
How do i identify the page that fired a method?
e.g.
page1.html
-----------
<Head>
<script>
document.write(myfun());
</script>
Assume that page1.html is in a frame (or iframe) in page.aspx. page.aspx
contains an include file say, myinc.js. myfun() is inside myinc.js. How do i
come to know that myfun() was fired from page1.html?
e.g.
page1.html
-----------
<Head>
<script>
document.write(myfun());
</script>
Assume that page1.html is in a frame (or iframe) in page.aspx. page.aspx
contains an include file say, myinc.js. myfun() is inside myinc.js. How do i
come to know that myfun() was fired from page1.html?