Welcome Guest, Not a member yet? Register   Sign In
creating a delay
#13

(This post was last modified: 07-11-2021, 08:47 AM by Gary.)

(07-10-2021, 05:57 AM)richb201 Wrote: Bottom line is that I don't need a delay. What I need is a way to force a form submission.

Will this possibly work?

Code:
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0");

I'm not sure how much distance you'll get out of this... it's a page refresh... which is being generated at the server-end when the page is being created... so why not just prep the page with the correct material before sending it the first time (?).

To be fair, I've not read the whole thread... but if you want something modified when something is clicked or selected, you could try using onchange='whatever.you.want.done' as one of the properties of the tag:
Code:
<select id="country_1" class="country-inject custom-select" name="addr_1_country" onchange='sub("CountryState/fetch_states", "insert_id|state_li... >
...
</select>
Reply


Messages In This Thread
creating a delay - by richb201 - 06-28-2021, 10:05 PM
RE: creating a delay - by php_rocs - 06-29-2021, 06:11 AM
RE: creating a delay - by richb201 - 06-29-2021, 07:11 AM
RE: creating a delay - by includebeer - 06-29-2021, 05:38 PM
RE: creating a delay - by paulbalandan - 06-30-2021, 01:03 AM
RE: creating a delay - by richb201 - 06-30-2021, 04:30 AM
RE: creating a delay - by richb201 - 07-08-2021, 04:56 PM
RE: creating a delay - by John_Betong - 07-08-2021, 05:55 PM
RE: creating a delay - by richb201 - 07-08-2021, 06:54 PM
RE: creating a delay - by paliz - 07-09-2021, 01:47 AM
RE: creating a delay - by richb201 - 07-09-2021, 09:33 AM
RE: creating a delay - by richb201 - 07-10-2021, 05:57 AM
RE: creating a delay - by Gary - 07-11-2021, 08:45 AM
RE: creating a delay - by richb201 - 07-13-2021, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB