JS determine whether there is an object page

sponsored links
function check (strObj)
(
if (typeof (eval ("document.all." + strObj))! = "undefined")
(
alert (strObj + "is an object");
)
else
(
alert (strObj + "is not an object");
)
)
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb
Tags:

Related Posts of JS determine whether there is an object page

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries