Software Archive
Read-only legacy content
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 토론

Button only receive event when clicked a lot of times in my HTML5 app

Vinicius
초급자
723 조회수

´m creating a simple HTML5 app using Intel XDK. The application uses AJAX to find information about a postal code. The problem is that, the button only works when clicked more than five or six times. I never seen that before! I checked it with an Alert() function and I figured out that the event is not being executed before I click a number of times. I tried to find a solution searching google but no one seems to get this issue. I know it´s a bug, but I gave my best to find it without success. Here is the link to my complete code. Thanks in advance!

0 포인트
1 솔루션
Diego_Calp
소중한 기여자 I
723 조회수

Hi Vinicius,

It may not a lot of clicks, just a delay to take it.

Take a look at this topic, the suggestion from Paul about modifying init-dev.js, the third post.

https://software.intel.com/en-us/forums/intel-xdk/topic/606952

I do this change in all my projects, I don't know why it is not a default.

Regards,

Diego

원본 게시물의 솔루션 보기

0 포인트
2 응답
Diego_Calp
소중한 기여자 I
724 조회수

Hi Vinicius,

It may not a lot of clicks, just a delay to take it.

Take a look at this topic, the suggestion from Paul about modifying init-dev.js, the third post.

https://software.intel.com/en-us/forums/intel-xdk/topic/606952

I do this change in all my projects, I don't know why it is not a default.

Regards,

Diego

0 포인트
Vinicius
초급자
723 조회수

Worked perfectly! Hope Intel change it in the next versions! Thank you!

0 포인트
응답