Run Conditional dropdown values “remote”
-
Hi there!
Ok, I might have painted myself into a corner with a non-standard use of the filters… If that’s so – sigh. But maybe someone might still have an idea.
Here’s the situation:
Page A offers a job search with filters. The same search is supposed to show inline on page B. The pages belong to different companies so a multi-Instance-Install of WordPress where both pages can use the same database is not wanted by the almighty customer.
So far no problem, actually, with a little jquery-trickery:
When page B loads in the background I additionally load page A into a variable and copy/paste the filters into page B.
When user makes his filter-selection I build the according URL for page A from it (for example http://job.brielmusik.de/job/unternehmen/iam-worx/job_country/deutschland/ ), then load THAT page in the background and this time copy/paste the results onto page B.
See? Works fine. (no “submit”-button – the reload fires once a filter is changed)
But now I made the mistake to tell customer about how useful the “Conditional drowdown values”-Function is on page A and of course he now wants it on page B too.
Can you see my problem?
Obviously the function for this runs via Javascript in the browser window after the page A has loaded. Buuuut when I load the page in the background, of course there’s no browser-instance for the script to run in.
So. Does anyone see any way I could somehow fire the conditional dropdown values-function on/for page B or on the loaded page A in the background, before I copy/paste it’s content to page B?
Alternatively: Is there, maybe, perhaps, an older build of BTF in which you did this in php, BEFORE the page gets loaded? (would solve my problem as well, obviously ^^).
The page I need help with: [log in to see the link]
The topic ‘Run Conditional dropdown values “remote”’ is closed to new replies.