Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Vinicius
Beginner
38 Views

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

Jump to solution

´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!

Tags (2)
0 Kudos

Accepted Solutions
Diego_Calp
Valued Contributor I
38 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
39 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
Vinicius
Beginner
38 Views

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

0 Kudos