--- JC Coez <[EMAIL PROTECTED]> wrote: > > I think you are trying to say that you need > > an answer from J, which is at the server, after > > mouse event in JavaScrit, which are at the client. > > > > There are a couple of ways to do it: > > - with postback: you reload the page navigating to > > .jhp which populates the sought values > > - using Ajax, when you call the server from the > > JavaScript code and get the result into the same page. > > > > For the latter see updated JHP, Ajax Call example. > > > That's exactly what I need and it does perfectly. I did not know Ajax > before. > > BTW, why is there an "[ Expires 0" in the first line of a jhp file ?
It's in the HTTP spec. Argument is date with special value 0, which means already expired. It may be counterintuitive as if it were "never expires", but it's not, it means, already expired. This is used to me sure that the page is always reloaded and not cached. ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
