Software Archive
Read-only legacy content

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

Vinicius
Beginner
262 Views

´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 Kudos
1 Solution
Diego_Calp
Valued Contributor I
262 Views

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

View solution in original post

0 Kudos
2 Replies
Diego_Calp
Valued Contributor I
263 Views

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 Kudos
Vinicius
Beginner
262 Views

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

0 Kudos
Reply