I need to request a page (I'm using httpwebrequest at the moment), call some javascript ( e.g
function selected(id) { document.getElementById("selected").value = id; }
and then submit that back to the server . . . is this possible?
EDIT
Sorry for the vagueness.
The page I'm trying to interface with is already 100% working, all I need to do is find a way to trick the server into thinking that someone has loaded up the page, caused a piece of jScript to be run, and submit it back to the server, like a faux user. I'm trying to use the embedded webBrowser on a winForm at the moment, it's easiest to do it this way because the code that waits to be told when to make this request is already written, it just needs to be able to simulate the squishy human that's not in the middle.
Incase you can't tell I'm currently learning javascript so forgive me if I'm not too sure with something basic ^_^