Dear Readers,
I face this problem in a web application build in .aspx. It mainly occurs when you are performing some action with javascripting or Jquery. In my case, I was using javascript. It was working fine in IE (Internet Explorer) but was unable to perform any action in chrome.
If you read subjected error message carefully, it tells you that you are accessing an object as function which is not a function at all.
In my case, I mistakenly access window.href as a function. for example, I wrote it as
window.href('www.google.com');
which is wrong and that is why it was not functioning properly in chrome. The correct method is
window.href= 'www.google.com';
I hope that after reading my post, you will able to understand that where you are doing mistake and correct it.
If this post help you then post your comments so that others can also consider this as a worth information.
Thanks.
I have created this blog to place some of important things on it for my personal use and also to help others. Now a days I am doing job as Software Engineer in a company. I have completed my graduation in Computer Science from University of Sindh, Jamshoro, Pakistan.
Showing posts with label Uncaught TypeError: Property href of object is not a function. Show all posts
Showing posts with label Uncaught TypeError: Property href of object is not a function. Show all posts
Friday, October 19, 2012
Subscribe to:
Posts (Atom)
Docker Tutorial
I have listed all the necessary commands of Docker below. In case if any is missing or if any improvement required, please share in comment...
-
Dear Readers, I face this problem in a web application build in .aspx. It mainly occurs when you are performing some action with javascrip...
-
Introduction In this article I will explain the concepts of Boxing and UnBoxing. C# provides us with Value types and Reference Types. Valu...
-
In my case, this error pertains to Oracle Merge query . After 30 minutes of time wastage and a lot of hunting on different forums, I come to...