Find events bound to an element using jQuery

The following line of code was a lifesaver for me, I was developing a phone gap (cordova) application and the camera bound to an onClick event was called 3 times. It took me a while to realise that it was due to  3 onClick listeners.

simply use jQuery Selector to select the specified element, in this case  “#Complaints_CamUpload”

Events bound to element  onClick is bound a single time as indicated by [1]
Events bound to element
onClick is bound a single time as indicated by [1]

$._data( $('#Complaints_CamUpload')[0], 'events' );


 

 

Find events bound to an element using jQuery

Revert to the Old chrome New Tab

After the new chrome update (Version 29.0.1547.76 m)   the “new tab” page has changed , which bothers lots of users

so here we are gonna show 3 simple steps to Fix the New Streamlined New Tab page and revert to the old new tab

 

The New Tab page
The New Tab page

 

Steps:

  1. Go to ” chrome://flags/#enable-instant-extended-api ” and set it to  “disabled”
chrome://flags/#enable-instant-extended-api
chrome://flags/#enable-instant-extended-api

 

2.Make sure to exit chrome COMPLETELY , either using Task manager or by pressing EXIT from the taskbar as shown

Exit chrome completely
Exit chrome completely

 

3.Horray! , you are done .

 

Back to the Old "New Tab" page
Back to the Old “New Tab” page

 

 

make sure to follow me @xtarx 

 

Revert to the Old chrome New Tab