there is a page that I own pageA where I call js code from other website
pageA
- Code: Select all
....
<script src="http://somesite.com/code.js" type="text/javascript"></script>
...
// I want to put some code here...
http://somesite.com/code.js
- Code: Select all
function abcd (xyz) {
}
now I want to put some code in PageA
which can find if the function abcd is defined or not
something like
- Code: Select all
if (window.abcd) {
//found
} else {
//not found
}
but this doesn't work...
Any DOM masters around ???


