Thursday, November 5, 2009

Radio button getting 'Object doesn't support this property or method' - javascript

When I add the onclick event to the radio button. I keep getting this 'Object doesn't support this property or method'.

Finally I find out it is because my name of the radio button and the function name in javascript is identical.

Don't use the same name in the future.

No comments: