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

Related posts:

  1. The Catholic Reference Extension – version 0.8.8

3 Comments »

  • 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

  • Manjula says:

    I had issue on FF.FF does not work window.location(“http://aaa.net” );.Once i changed to window.location=”http://aaa.net”; and now it works on both IE and FF.

    Thanks Lot ………………

  • bottle says:

    thanks very much!

RSS feed for comments on this post. TrackBack URI

Leave a comment

You may use Markdown syntax in your comment.

Powered by WordPress.