Hi, this is not a dialog, but the property fields when create a new
page. I think the problem is this js is called before the page render
completed (I can only see content in the header tag), therefore anything
you set for selector will be "not defined". Please let me know if I
understand this wrongly. (function(window, $) { ... });})(window,
jQuery);BTW, this is my .content.xml I have found an
alternative way to do the job using jquery onclick function, which is
only called when document ready ...