Hi Jeff,
I don't know enough about the JavaScript support inside PDF files to really comment (indeed I was unaware that PDF ad JavaScript support at all...)
The request itself will be pretty simple I would think - and presumably parsing the result is do'able as well - but I think you'll need to google around a bit to see if this is possible.
cheers
Bruce