I use JScript for ASP programming, which is Microsoft's version of Javascript, rather than VBScript. I've encountered a few other people around TT who use that, as well, so it's quite possible.
I still can't tell when you're talking about client-side Javascript and server-side coding. Client-side Javascript can't communicate with the server directly, and server-side coding can't communicate with the client-side computer directly.
Show an example of what you want to do, and we can go from there. Just asking how to do something isn't a productive question when there are thousands of possibilities for what you might want to accomplish.
Lee