|
> if (href="/cgi-bin/myprogram?parm=parmvalue") { > domystuff; > } > else { > dootherstuff; > } It wouldn't be quite that simple. The browser would expect a page to be returned by an HREF. A couple alternatives come to mind. I think a java applet on the current page could connect to the server and ask for a true/false response. The applet could export a method that could return a true/false value to java script. Second, an HREF link could return a page that contained a form with a hidden variable. If you didn't want that page to replace the current page, then you may be able to reference a hidden target frame. Your java script could reference the hidden variable in the hidden frame. Sorry, I don't have a source example. Nathan M. Andelin www.relational-data.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.