搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Very different behaviour between chrome,brave & firefox,firefoxdevedition with javascript and button.

  • 無回覆
  • 1 有這個問題
  • 6 次檢視
more options

Hello, I found very different behaviour today between chrome,brave & firefox,firefoxdevedition with javascript and button.

As visible on the screenshots the button is created with its attributes GET and target profile.html via jinja2 templating.

But in addition, via javascript, I added a function to post the selected tables to a route called SaveToDatabase.


In chrome the js part gets executed and profile.html is loaded, but in firefox based browsers ONLY the js POST is executed and nothing else happens.

What could the problem here be?


Best regards and thank you in advance.

Hello, I found very different behaviour today between chrome,brave & firefox,firefoxdevedition with javascript and button. As visible on the screenshots the button is created with its attributes GET and target profile.html via jinja2 templating. But in addition, via javascript, I added a function to post the selected tables to a route called SaveToDatabase. In chrome the js part gets executed and profile.html is loaded, but in firefox based browsers ONLY the js POST is executed and nothing else happens. What could the problem here be? Best regards and thank you in advance.
附加的畫面擷圖