JQuery Dialog dialog size on open
1) I use this javascript function to launch JQuery Dialog:
$('#dialog').dialog('open');
2) I read that to change size I can use something like this:
$('.selector').dialog({ height: 530 });
Question: How can I mix those 2 lines of code into 1 line javascript
function?
Thanks in advance!