window.location is not a function

March 24, 2008 at 13:12

Filed under: Computing — Pistos @ 13:12

“window.location is not a function” Well of course it isn’t.

Wrong

window.location( "http://blog.purepistos.net" );

Right

window.location = "http://blog.purepistos.net";

A silly mistake I made recently, one which left me head scratching for a while.

Share This

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You may use Markdown syntax in your comment.

Powered by WP Hashcash

Powered by WordPress.
Close
E-mail It
Socialized through Gregarious 42