Javascript

ExtJS doesn't have any native method to print content but we can do it easily in the following way -

Lets have a panel with some html content and a print button -

I mentioned about an opensource js timer a long time ago to my seniors. But, did not get time to share it with you all (actually, it went off my mind :P). Anyway, I think we can use it in cases wherever we need periodic and/or delayed tasks.

Here is the link to that blog: http://abcoder.com/javascript/core_javascript/javascript_timer

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 - Javascript