Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
how to pass javascript return variable to code behind
Abhijit Patil
Apr 12 2015 6:35 AM
671
Reply
hi folks
i am write one javascript function
as below
i want to pass the a value to the my code behind .how i pass it
<script type="text/javascript">
function myKeyPress(e) {
var keynum;
if (window.event) { // IE
keynum = e.keyCode;
} else
if (e.keyCode==13) { // Netscape/Firefox/Opera
keynum = e.which;
alert(String.fromCharCode(keynum));
}
else if (e.keyCode == 65) {
return false;
}
var a = String.fromCharCode(keynum);
}
</script>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Cross Domain Web Services in ASP.Net
Master Page Error - Ambiguous match found.