onclick
-
Hi, I am trying to call a javascript function on the onlick event of a button. status is a function in javascript in the same page. There is an error: object does not support this action. I even tried all these forms: "javascript:status();" , "javascript: return status();" Thanks,
-
Hi, I am trying to call a javascript function on the onlick event of a button. status is a function in javascript in the same page. There is an error: object does not support this action. I even tried all these forms: "javascript:status();" , "javascript: return status();" Thanks,
Have you tried:
onclientclick="status()"
? Sounds like you may have an error in yourstatus()
function."We make a living by what we get, we make a life by what we give." --Winston Churchill
modified on Wednesday, May 6, 2009 4:01 PM
-
Hi, I am trying to call a javascript function on the onlick event of a button. status is a function in javascript in the same page. There is an error: object does not support this action. I even tried all these forms: "javascript:status();" , "javascript: return status();" Thanks,
Could you write your full aspx page code here. Regards, Kaushal Arora
-
Have you tried:
onclientclick="status()"
? Sounds like you may have an error in yourstatus()
function."We make a living by what we get, we make a life by what we give." --Winston Churchill
modified on Wednesday, May 6, 2009 4:01 PM
-
Could you write your full aspx page code here. Regards, Kaushal Arora
-
Hi, I am trying to call a javascript function on the onlick event of a button. status is a function in javascript in the same page. There is an error: object does not support this action. I even tried all these forms: "javascript:status();" , "javascript: return status();" Thanks,