dynamic table row creating and ajax

dynamic table row creating and ajax

I am new to jquery. Can someone please help me ?
 
I have a table, and a select box. On change of the selection, I need to dynamically render a new row containing response from an ajax call. So essentially I need to create a new row and to load html into the new row.
 
Here is the html
<table id="myDiv"><tbody><tr>....</tr></tbody></table>
 
js finction
jQuery("#myDiv).closest("tr").after('<tr id="myDivv" />') ;
jQuery("#myDivv").load(url, settings) ;
 
I dont see the new row being added. However if I just create a div with id myDivv I am seeing the html getting updated with ajax response. So why am I not able to create a row and access it ?
Any help is greatly appreciated.
 
THanks