title: jQuery val(val) is not working in modal dialog (jQuery ui)
body: <p>I have a modal dialog which opens on click of Edit button of my webpage. I am passing the values to the onclick handler (which calls $("#editdialog").dialog('open');). Beside opening the dialog I need to populate form inputs within the dialog with values passed to the onclick event handler. I am doing this:
  $("#editfrm > input[id='FirstName']").val(name);
  where name is a passed parameter value. But somehow the above code is not working. Please Help.</p>