html - set autocomplete off in jquery modal dialog -


i want set autocomplete off each , every jquery modal dialog. don't want going through every single modal dialog , set attribute false. i'm wondering there generic event can fire after modal dialog initialised? turned off autocomplete in html forms using following code in document.ready function. doesn't work jquery modal. i'm looking similar.

jquery(document).ready(function($) {            $(this).find(":input[type=text]").each(function () {         $.setautocompleteoff(this);     }); }); 

try catch dialogcreate event:

$( window ).on( "dialogcreate", function(event, ui) {      //do need }); 

like in fiddle: http://jsfiddle.net/brg9a/1/


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -