cgi makeRequest - function executed twice

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

cgi makeRequest - function executed twice

700件の閲覧回数
Curro
Contributor III

I'm working on kinetis K60 mqx3.8 and custom board.

This board can be remotely web controlled by pushing buttons on a web server page and cgi.

Each button is managed like in the following code:

function tasto1() {

  makeRequest("sw1.cgi");

}

...

...

<input type="submit" STYLE="position:absolute; top:100px; left:380px;width:60px" value="1" onclick="tasto1()">

and function makeRequest() as found in many mqx web servers examples.

Everything runs ok with most of windows/linux/mac pc browsers and also with smartphones.

If I try to control my board with Blackberrys, every time I push a button, related function is executed twice.

The problem could be due to a Blackberry browser not standard behavior and could not be a problem.

The real problem is that sometimes I see the same fault also on Windows7+Chrome configuration (maybe other configurations?).

Can anyone help me to solve this bug?

Many thanks,

Corrado

0 件の賞賛
返信
0 返答(返信)