G
garks
Recently I created a webpage which contains some buttons and iframe.
The iframe was hidden before the buttons is clicked.
When the button is clicked the iframe is shown.
When the button is clicked again, the iframe is hidden again.
The iframe links some external webpages. Some of them have focus
themselves.
The situation is here~~~
When I clicked the button, the iframe was shown correctly.
When I clicked the button again, the iframe was hidden.
But, if the contained webpage has its own focus, errors occurs
"Can't move the focus ot the control because it is invisible, not
enabled, or of a
type that does not accept the focus"
I have tried to change the html,
using
object.innerHTML=""
to replace the <iframe src="http://www...com"></iframe>
But it seems doesn't work.
How to hide the focus of the external webpage?
Can anyone help me?
The iframe was hidden before the buttons is clicked.
When the button is clicked the iframe is shown.
When the button is clicked again, the iframe is hidden again.
The iframe links some external webpages. Some of them have focus
themselves.
The situation is here~~~
When I clicked the button, the iframe was shown correctly.
When I clicked the button again, the iframe was hidden.
But, if the contained webpage has its own focus, errors occurs
"Can't move the focus ot the control because it is invisible, not
enabled, or of a
type that does not accept the focus"
I have tried to change the html,
using
object.innerHTML=""
to replace the <iframe src="http://www...com"></iframe>
But it seems doesn't work.
How to hide the focus of the external webpage?
Can anyone help me?