hwg-techniques archives | May 2001 | new search | results | previous | next |
Submit Button, doing two things at once.by "Insurance Squared" <gcooke(at)insurancesquared.com> |
|
I need a nudge as to the best way to do something - I think I need to be able to do call two scripts from a submit button. I resell access to a script I maintain on my server. A customer wants to call this script from multiple pages on their site - say 'promo A' and 'promo B'. The problem is that they want to be able to track which page is calling the script. I don't have access to modifying the script. The solution would seem to be to use my server logs - but I have other companies calling this script as well. It seems like a big deal to set something up to cut out just this customer's domain from the logs and send them this daily. I also think I'd like to offload this function on them if possible. a) I think Javascript may be able to handle this. From the form input page, can I call a 'counting' script from their server, then submit the form data normally all from one click of a submit button using Javascript onSubmit()? I'm happy dust off the books if this is a potential solution. b) If so, are there any real problems with using a Javascript solution such as this. e.g. customers don't have javascript turned on. c) Any thoughts on other ways to accomplish this? Thanks, Glenn
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA