10
rated 0 times
[
12]
[
2]
/ answers: 1 / hits: 78220
/ 12 Years ago, fri, march 30, 2012, 12:00:00
I am trying to invoke a button click from inside a .cshtml file:
<input type=button id=ImageHosting value=To Image Hosting onclick=ImageHosting_Click()/>
This is the .js file:
function ImageHosting_Click() {
$(#ImageHosting).click(function () {
alert(test);
});
}
I am not able to get the alert message. Any idea why?
More From » jquery