0
Good afternoon. I wonder if it is possible to fill in the iframe inputs through Javascript.
<iframe src="http://frame.com" width="100%" height="800" id="frame"></iframe>
I know the name of the iframe input and I thought about it:
<script type="text/javascript">
function myFrame() {
$("input[name='txt_nm_requerente']").val("fernanda");
};
But it didn’t work.
the
src
is in the same field as yourpagina
? if not, you can implement a message exchange between pages, but you will need to modify both.– Tobias Mesquita
It’s not. My local system and iframe is from my city hall.
– Fernanda Ferreira