Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12216
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: activating a JS script from PHP redirect |
| Date | 2013-12-11 02:12 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <l88hmd$rrp$1@dont-email.me> (permalink) |
| References | <l8627s$701$1@dont-email.me> <l86psv$dev$1@dont-email.me> <l88ebh$fvc$1@dont-email.me> |
On Tue, 10 Dec 2013 17:15:26 -0800, Scott Johnson wrote: > Currently there is only one page involved. > Lets say auto.html > On this page there is a quote link that calls a JS function on the page > looking at the class, id and rel from the link, that then displays a > currently hidden div that has the actual quote form on it. So your actual quote form is a hidden div on auto.html, rather than a separate quote.html. > Additionally there are 2 other pages. > An index.html page that has a quick quote form with a dropdown to select > quote category (such as auto, home etc..) which when clicked calls a > quote.php page which sends out an email to the agent. So presumably the quick quote form entails different data entry to the quote form on auto.html? Is auto.html for a specific type of insurance? > What they would like to do is combine the quick quote on the index.html > page to redirect to the category page, auto.html and display the quote > form in one fell swoop. It sounds to me as if the basic requirement is that: Index.html has a "quote" menu On the "quote" menu, you have a list of types of insurance (auto, building, home contents etc .....) Selecting the relevant type of insurance should open up a form that captures data relevant to the insurance quote type. This sounds more like a website structuring issue than a php or javascript issue. It sounds as if the existing website structure doesn't really match the way people are expected to use the website, which suggests that the website structure needs to be fixed. -- Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-09 19:36 -0800
Re: activating a JS script from PHP redirect Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-10 05:20 -0500
Re: activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-10 17:15 -0800
Re: activating a JS script from PHP redirect Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-11 02:12 +0000
Re: activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-11 04:52 -0800
Re: activating a JS script from PHP redirect Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-11 13:35 -0500
Re: activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-11 15:50 -0800
Re: activating a JS script from PHP redirect Fyndhorn Elder <bubble@caradhras.lan> - 2013-12-15 17:49 +0000
csiph-web