SyntaxFix
Write A Post
Hire A Developer
Questions
You can fill a hidden field from your JavaScript code and do an explicit postback from JavaScript. Then from the server side, check that hiddenfield and do whatever necessary.