Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Firefox is not sending file inputs through iframe

  • 4 respostas
  • 4 têm este problema
  • 2 visualizações
  • Última resposta de Edwin Munguia

more options

i know this ain't a programming forum, but i'm having problems with firefox while trying to send file inputs through iframes.

this is my code

<form id="popup_form_archivo" method="post" action="'subir_imagen.php" target="wk_iframe" enctype="multipart/form-data">
<input name="accion" value="subirImagen" type="hidden" />
<input name="wkimg" type="file" id="popup_prompt_archivo" />
</form>
<iframe name="wk_iframe" id="wk_iframe" src="about:blank"></iframe>

i send the form inputs to the iframe called wk_iframe, i get the data from the hidden input but not the file input..

I dont know why is this happening?, because it used to work.

Works good in safarin, Opera, Chrome, But not with Firefox

I must say i love firefox and that's what i'm here..

Please help me..

i know this ain't a programming forum, but i'm having problems with firefox while trying to send file inputs through iframes. this is my code <pre><nowiki><form id="popup_form_archivo" method="post" action="'subir_imagen.php" target="wk_iframe" enctype="multipart/form-data"> <input name="accion" value="subirImagen" type="hidden" /> <input name="wkimg" type="file" id="popup_prompt_archivo" /> </form> <iframe name="wk_iframe" id="wk_iframe" src="about:blank"></iframe></nowiki></pre> i send the form inputs to the iframe called wk_iframe, i get the data from the hidden input but not the file input.. I dont know why is this happening?, because it used to work. Works good in safarin, Opera, Chrome, But not with Firefox I must say i love firefox and that's what i'm here.. Please help me..

Alterado por cor-el em

Solução escolhida

I notice a single quote in action="'subir_imagen.php". Is that quote necessary?

This should still be working as the docs indicate.

Any errors showing in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) or Browser Console?


A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

Ler esta resposta 👍 0

Todas as respostas (4)

more options

Solução escolhida

I notice a single quote in action="'subir_imagen.php". Is that quote necessary?

This should still be working as the docs indicate.

Any errors showing in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) or Browser Console?


A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

more options

The single quote was a mistake of mine, and as far as i can see, i'm doing everything good, why did it work before and suddenly stopped?

more options

Did you consider to ask advice at the above posted mozillaZine forum?

more options

Ok, i'll do it, Thanks!