Redirect and open Edit Popup


I am stuck in a problem where I have a link which has an anchor tag and href is set to open some feedback. The anchor tag deals as a single Note and I need to open a popup to delete this Note. I am binding this anchor tag with in a span and applying onclick to open Edit Popup.

Here is my HTML

<span style="font-size: 13px; font-family: Arial;float:left; cursor: pointer;" onclick="javascript:OpenMoveFeedback('4909','2838','0');">
   <a href="http://localhost:16185/SurveyDesigner/FeedbackReport.aspx?RequestId=7f2679e8-d131-47d8-9074-318516c7b95b&amp;$$$$=4909" 
       style="cursor: pointer; text-decoration: none; color: #0431B4; font-size: 13px; font-family: Arial;">
     View Anonymous Feedback 
   (Form: ff5).

As you can see there is a function OpenMoveFeedback which will open a popup and the anchor tag has some redirect to itself.

Now the point is when user click on (Form: ff5) it will open that popup (no issue here), but when user click on View Anonymous Feedback it will open a new tab in browser window + it will also trigger the popup. I don't want to open that popup is this case.

Please suggest me what I have to update here. I am building the data from json ajax. There is no data in client side code.

By : nrsharma

This video can help you solving your question :)
By: admin