You can have a server-side function effectively relay the query and send the results back to JS.
Joined: Jul 05, 2004
Thanks for the answer
It's not possible to execute something on user's site. I can put only small JS code into his page.
Problem is that i need to show two types of buttons on site. One type will be shown if statement from my server returns true, another if false.
It's possible to write a jsp or servlet that will return the result on my site. Then from JS i can execute URL and get the text of document like variable. But i don't know how to execute url and get this text in JS. Maybe it's not possible too. I have searched about it, but found nothing helpfull. [ July 06, 2004: Message edited by: Vlad Golodov ]