X - editable input editable on click on other element
问题 I have an x-editable input, which I'm using to edit usernames. The default action of the element is when you click on itself, you can edit a value. But I want to enable click on the element's .editable and be able to edit the value inside my input. To shorten stuff here is a jsfiddle of my current situation. jQuery: $(function(){ $.fn.editable.defaults.mode = 'inline'; $('#publicname-change').editable({ type: 'text', url: '/post', pk: 1, placement: 'top', title: 'Enter public name' } ); /