console

Often we call console.write method from javascript method/function. It is working fine in most browsers. But some times it shows javascript bug (console is undefined).

Internet Exploere has no such console object(Latest version it is added but when IE Developer tool is open). In that time it will show javascript error and qa open bug.

A few days ago that type of problem raised in our development life cycle. The easiest way to solve the problem is

Just write the bellow code in any MasterPage(Base Page, common user control) etc. Just once need the code executed.

Subscribe to RSS - console