Knockout error

by Varghese on October 27, 2011

Knockout Error

Knockout Error

The above knockout error haunted me for a while, and latest noticed that the error lies in the script referencing. As you see there was reference of two versions of the same jquery which caused this.

Knockout File

Knockout File

{ 0 comments }

Didn’t TheLadders notice this?

by Varghese on October 24, 2011

Bad experience or UI?

Bad experience or UI?

 

{ 0 comments }

Javascript object oriented way

October 24, 2011

An object with all public functions – suitable for a utility class: var myObject = { Private: 100; method1: function() { this.Private = 200; } method2: function() { } } var myObject = new Object() { } is equivalent to var myObject = {} An object with private and public methods: function myClass { function [...]

Read the full article →

Using custom tags in html page

October 23, 2011

It is not a good practice to use custom tags in html. The IE nor FF does not render style for custom tags though it display the text inside the custom tags. There are few ways you can use custom tags and apply behavior or style. In html5, you can apply a behavior to a custom [...]

Read the full article →

Display the font size using Native Javascript

October 21, 2011

You can set the font of an element in many ways. You can use the html tag <font> or use the inline style with style attribute or use the cascade style sheet and a class. When you use the inline style attribute to set the font, the font-size can be retrieved by document.getElementsByTagName(‘h1′)[0].style.fontSize. You will [...]

Read the full article →

Effective Javascript loading

October 9, 2011

The normal practice to load javascript files is to list the files in the HEAD section of the html file. This will work in most cases. The fat client web applications don’t like to load all the javascript files before the content is displayed. The javascript files may have complex processing which can prevent the [...]

Read the full article →

Prevent fraud in your store

September 1, 2011

You’ve just started an online business. In few days time, you receive an order for $250. You get excited because you have not seen this big order. You ship the order. After a month, you receive a charge back from your payment merchant -  your customer filed a charge back for that amount. You will [...]

Read the full article →

Branching the code in TFS

September 1, 2011

The software process includes a step called release. In the release process, all the code have been compiled to make a release version. This release version becomes available to the customers to use. The customers may find issues with the software. The developers fix them and again make a release to the customers again. This is [...]

Read the full article →

Array in Javascript and C#

August 30, 2011

‘Array’ is a data type similar to a primitive data type like ‘int’.  A variable declared as ‘Array’ can hold multiple values of the same or different data types. Let’s see how they are different in C# and Javascript. Javascript You can declare a variable of type ‘array’ with the keywords ‘Array’ or ‘[]’. They [...]

Read the full article →

You need permission to perform this operation

August 14, 2011

I created a new website under localhost through Visual Studio 2010. Now I wanted to delete the website. I deleted the site from the IIS first. This operation did not delete the folder itself. I had to go to the folder to delete. This is the error message I received when I tried to deleted [...]

Read the full article →