cgi makeRequest - function executed twice

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

cgi makeRequest - function executed twice

702 次查看
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 回复数