Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Firefox 57 doesn't appear to pass values from php/html dropdown controls to URL

  • 1 resposta
  • 1 tem este problema
  • 13 visualizações
  • Última resposta por urbanwks

I have a site that worked in FF56, and works in IE11, which contains lines such as:

<input type="hidden" id="m" name="m">

...which typically append the URL when submitting the form with "&m=[selected_value]".

This does not appear to work anymore with FF57 - the URL is instead appended with "&m=", without the value; wondering if this is intentional or a bug.

I have a site that worked in FF56, and works in IE11, which contains lines such as: <input type="hidden" id="m" name="m"> ...which typically append the URL when submitting the form with "&m=[selected_value]". This does not appear to work anymore with FF57 - the URL is instead appended with "&m=", without the value; wondering if this is intentional or a bug.

Todas as respostas (1)

I realized the above might be confusing, so here's an excerpt (sorry for the awful formatting, I don't see an option for [code] tags):


echo "<form action=\"./index.php?dept=$dept&t=$type&sub=$sub\" method=\"get\" id=\"monthly\" name=\"monthly\">";

echo "<select name=\"y\" form=\"monthly\">"; $allyears = array("2017","2016"); foreach($allyears as $year) {

   if($year==$ydefault) $selected="selected=\"selected\""; else     $selected="";
   echo "<option $selected value=\"$year\">$year</option>";

} echo "</select>";

echo "

<input type=\"submit\" value=\"Generate\">";

echo "</form>";


Typically, the URL returned when submitted would be something like: "index.php?dept=$dept&t=$type&sub=$sub&m=[selected_item]" (i'm getting the $dept/etc vars elsewhere prior to this)... but instead, I'm getting "index.php?dept=$dept&t=$type&sub=$sub$m=".

Modificado por urbanwks a