Google
 

Saving and Loading Files from Web Pages via AJAX

Thursday, February 16th, 2006

I recently ran across a nifty project called "TiddlyWiki". One of the things that struct me as interesting features from the programming point of view is the fact that it is able to load and save itself to the user's hard drive using Javascript without any kind of server side ...

Weird JavaScript problems

Tuesday, January 3rd, 2006

For quite some time I have been trying to track down a strange Javascript error. In one of the forms in our application, we have a dynamically generated set of DOM form fields generated on the fly via Javascript. Something like "document.myForm.appendField(field);". The page in question worked just fine in ...

Browser Differences in window.opener Behavior

Thursday, May 5th, 2005

Among the more persistent bugs I have been chasing recently involves a set of interrelated windows. The case in point was a parent window (A) that opened a child window (B) via JavaScript. The child window (B) was set to check whether the parent window (A) is still open before ...

How To Wrap Text in a Table Cell

Thursday, May 5th, 2005

An interesting question that came up today during work was how to wrap text in a table cell that does not contain any line breaks or spaces. For example: ThisIsCell1 ThisIsCell2 We want the text inside the cells to wrap to the next line instead of extending the table size. There are three ...

Is Firefox Becoming Mainstream?

Thursday, March 31st, 2005

Sometimes you can guess that a software product has become mainstream enough when a big company starts supporting it. I think this is exactly what just happened with FireFox: Google just announced support for "pre-fetching" - a feature ONLY available on Mozilla browsers. This is a refreshing breath of air ...

Microsoft to Secure the Web?

Tuesday, March 29th, 2005

A news story and this post are talking about Microsoft's new technology for securing private data: Microsoft in the coming months will roll out test versions of its latest operating system—code-named Longhorn—and its newest browser, which includes new approaches users can take to protect their identities online, safely swap data, and ...

Internet Explorer 7

Tuesday, February 15th, 2005

CNET is reporting from the RSA conference that there is going to be a new version of Internet Explorer out before Longhorn. Unfortunatly it will only run on Windows XP SP2 according to the article. The article also notes the competitive pressures from Firefox. P.S. There is a related post on ...

Making TurboTax.com Work on Linux

Tuesday, January 18th, 2005

(TurboTax now works fine with FireFox on Linux. This post will remain here for historical purposes.) I have using Intuit's online version of TurboTax for the past few years to file my taxes. However, this was the first year I used it in Linux. Logically, since it is a web based ...

Strange IE Bug

Tuesday, January 11th, 2005

Today I came across a VERY strange IE bug - a certain page would not work in IE6 under Windows XP SP2, while it worked fine in Opera, Mozilla and Firefox. The message shown would be as follows: Internet Explorer cannot open the Internet site [url] Operation aborted After more digging, I ...

Opening Popups in IE

Tuesday, January 4th, 2005

Recently I ran across a rather strange error with different browser. Popup windows could be maximized in Opera and Mozilla, but not in IE. The code I was using was as follows (click here to try): window.open('', '', 'width=200,height=200'); After some digging, I ran across the following snippet in MSDN: When the sFeatures ...

Lynx to the Rescue

Tuesday, November 30th, 2004

Last night I have been trying to login into the credit card site for a major US banking institution and to my suprise, nothing worked. I tried out FireFox, Mozilla, Konquerer and Opera. All of them failed but to my suprise one browser worked - LYNX. Yes, the text based ...

A Sad Day for Java Security

Wednesday, November 24th, 2004

The Register and SANS ISC are reporting a major security hole in Java plugin which makes applets work in browsers. This hole allows JavaScript access to stuff which should normally be restricted. ALL BROWSERS utilizing the Java Plugin are affected on ALL platforms including IE, Opera, Mozilla Suite and Firefox. ...

An Official IE Blog

Thursday, November 4th, 2004

As a followup to an earlier mentioned Opera Watch blog, it seems that Microsoft's Internet Explorer team has a blog of their own.

Launch of “Opera Watch” Blog

Tuesday, October 26th, 2004

For Mozilla and Firefox there is MozillaZine; for Internet Explorer there is Microsoft Watch and now for Opera there is a new blog - OperaWatch. Started by a friend of mine this "Unofficial Opera Blog" seeks to bring you the news on everything Opera.

Hiding Table Rows in DHTML

Sunday, October 24th, 2004

One of the more fun things in DHTML is dynamic manipulation of page content. An interesting question that recently came up at work was hiding and displaying a single table row. The solution I came up with is pretty simply - set the CSS STYLE tag of the table row ...

Another IE JavaScript Difference - TypeOf Operator

Friday, October 22nd, 2004

Another rather annoying thing I just ran across is the difference in the implementation of the "typeof" operator in Javascript operating on functions. If you create a function in the parent window, assign it to a property of the parent window, and then pass it to the child window, IE ...

Validating SELECT Boxes in JavaScript

Thursday, October 21st, 2004

One of the more boring tasks in DHTML is validation of form data and specifically of INPUT and SELECT boxes. Since both have a ".value" property, we can save time and use the same code for checking both: if(selectBox.value == null || selectBox.value.length == 0) { alert('Nothing selected in select box!'); } else ...