current position:Home>About javascript: iframe web page B is embedded. There is a form in web page B, and the parent Web page a does not refresh

About javascript: iframe web page B is embedded. There is a form in web page B, and the parent Web page a does not refresh

2022-02-02 22:22:53 CSDN Q & A

Make one chrome extension Operate the web A.
Webpage A, Embedded iframe Webpage B,
Webpage B There is a form , After the form is submitted , Will refresh itself , Parent page A No refresh .
problem :
Now I'm going to use for Batch cycle submission form , Because the web page after submission B Will refresh itself , Only one cycle can be submitted , What's a good way ?
Or in for How to wait in the loop iframe load ,
thank you




Refer to the answer 1:

Is the submission of the form used ?
Yes, you can put submit Change to button, Customize an event , Block default events e.preventDefault()




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022222515479.html

Random recommended