Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
how to raise click event withour clicking on button in js
Gowri A
Sep 10 2015 9:24 AM
346
Reply
hi ,
From C# i'm call javascript function which shows the confirmation msg with okie and cancel buttons. Here is the script. So when i click on okie i want to raise click event without clicking on button. Please help me.
<script type="text/javascript">
function myfunction() {
var result = window.confirm("Effective Date is Changed. Do you want to search the details under this date??");
if (result) {
alert("Okie");
// raise button click without clicking on button
}
else {
alert("Cancel");
}
}
</script>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
jquery -how to select filterd rows of table
How to Lock Page Contents until share on Facebook