Following line of code opens a same page,How can I make it open in other new window??
string str="<td><a href='#' onclick='GoToFunction()'>" + dataTable.Rows[i][j] + "</a></td>"
Plz Reply…I don`t know why html tags are not displaying
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Because you are running a javascript function
onclickyou’ll need to use javascript to open a new window. Simply addingtarget="_blank"as you would to a standardaelement won’t work. Try this: