javascript - Delete confirmation returns Undefined in chrome -


i facing issue in chrome only.

when want delete entity in web application before ask confirmation delete.

<div onclick="return confirm('are sure want delete package?');">   <a href="appsubscriptionpackagedelete.htm?appguid=${appguid}&packageguid=${packageguid}" onclick="return confirm()" class="iconbutton trashicon floatright"></a> </div>  

when click delete link gives proper message in other browsers returns undefined in chrome. if click cancel shows proper alert string passed in confirm function

return false works on link

<div >   <a onclick="return confirm('are sure want delete package?');" href="appsubscriptionpackagedelete.htm?appguid=${appguid}&packageguid=${packageguid}"  class="iconbutton trashicon floatright"></a> </div>  

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -