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/Bookmark

No related posts.

1 Comment »

  • Qu'E says:

    I love you for this post man.. I googled for an answer to my puzzle, and of course I forgot my silly equal sign too..
    laughs
    Thanks for posting it in the first place!

    ~Qu’E

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.