From hours I am trying to find the root cause for one of tricky customer issue. Help is appreciated.
None of the clicks events in client Chrome browser is firing.
But when we call the JavaScript method from console it fires!
In the attached image you can see, how I triggered the event
Tried removing "data-bind" attribute and added simple "onClick", still does not work. none of the buttons in web site working :(
Here is code
<div class="row butrow p0 pb20 pt10">
<div class="col-md-12 text-left ">
<div class="form-group">
<div class="col-md-6 text-left pl0">
<input type="button" style="display: inline;" class="resbut" value="@SchedulingSystem.Clear" id="btnClear" data-bind="click:AppointmentView.ClickClear"/>
<input type="button" style="display: none;" class="resbut" value="@SchedulingSystem.SkipNAdd" id="btnSkipNAdd" data-bind="click:AppointmentView.ClickSkipNAdd"/>
</div>
<div class="col-md-6 text-right">
<input type="button" data-bind="click:AppointmentView.SelectSearchCustomer" value="@SchedulingSystem.Select" class="subbut" id="btnSelectSearchCustomer"/>
<button id="btnSearchCustomer" type="button" data-bind="click:AppointmentView.SearchCustomer" class=" resbut"> @SchedulingSystem.Search_Customer</button>
<input type="button" style="display: none;" class="resbut" value="@SchedulingSystem.AddNewCustomer" id="btnAddNewCustomer" data-bind="click:AppointmentView.ClickAddNewCustomer"/>
</div>
</div>
</div>
None of them are getting fired.
In IE and FireFox all buttons working as expected, issue is only on chrome
Solution
Laptop was touch screen based!!
1.Type below in chrome browser :
chrome://flags/#touch-events
2.In the enable touch events section ,please select "Disable" from the drop down.
3.Click on "Relaunch Now"