tuupola/jquery_jeditable — pull request #108 by donarus (2013-11-02 20:34:52+00:00)
Title: added "type" attribute to editable "text" input elements

"type" attribute should be added even if type of element is "text"

```javascript
text: {
element : function(settings, original) {
var input = $('');
if (settings.width != 'none') { input.width(settings.width); }
if (settings.height != 'none') { input.height(settings.height); }
/* https://bugzilla.mozilla.org/show_bug.cgi?id=236791 */
//input[0].setAttribute('autocomplete','off');
input.attr('autocomplete','off');
$(this).append(input);
return(input);
}
}
```

The reason is that many modern CSS frameworks use "type" attribute selector in CSS rules (even the most common framework - Bootstrap) to aply appropriate style.

And some browsers doesn't allow to change "type" attribute dynamically (due to security reasons) by javascript.

So by my opinion, we should add line
```javascript
input.attr('autocomplete','off');
```
to definition of editable "text" input element.