"Edit Mode" button

That button should do just fine… Ah, I do see one thing I that used to zero in on the particular button I wanted to listen for. If you’re not using the “ui-silk-pencil” icon for your button, it won’t work. So you’d either need to change the class in the javascript to the particular class that your button has or switch the button to a pencil. This line is what you’d need to change (from “pencil” to whatever icon you’re using): $(‘.ui-button:visible’).has(‘.ui-silk-pencil’).each(function() {