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.
The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...