ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,774 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
AgaveJoe - you answered this question but when I read it, I clicked on something and the answer
completely disappeared!!! Its gone. Poof!!
What the what?
Can you send the answer again - it had something to do with stopping propagation.
<div id="outerElement">
<input type="file" name="myname1" class="dz_input1" id="input1" />
<div class="overlay">
<a href="#" class="icon" title="Remove Picture" onclick="RemovePicture(event)">
<i class="fa fa-user"></i>
</a>
</div>
</div>
@section scripts {
<script>
$('#outerElement').click(function () {
console.log('outerElement click event fired')
});
function RemovePicture(event) {
event.stopPropagation();
console.log('RemovePicture click event fired');
}
</script>
}