problem in your jquery code your code like this.
$(".cmdclose").click(function()
problem is "cmdclose" this class is not available in your html par.
so first you need to specify the this class in html tag like div,tr etc.
after that its working plz try this