Hi, Can anyone resolve why the target does notopen into a new window? Have tried .parent () (_blank) etc but can not get this working? $str = "<input type=button class=button value=Group Contact Details onclick=\"window.open.location.href='http://xxx/xxx/group_contact_details/group_details.html';\">"; If you can point me in the right direction I would appreciate. Thanks All. A