i want to open a new window on click of 1
$leadID = "<a href='javascript:onclick=window.open(lead_data.php?leadid=1, myWin, scrollbars=yes, width=400, height=650);'>1</a>";
it is not showing me error. is there any other way to open new window.
here is the fiddle http://jsfiddle.net/ankurdhanuka/uwypv/
Thanks in advance.