Answer: Here in the script in coding we have to attach or we have to use spanMouseDownUp to show the html element in jquery.
example:
<script type="text/javascript">
$("#spanMouseDownUp").mouseup(function () {
$(this).html("Mouse released");
});
</script>
In the above code when user releases the mouse button from “spanMouseDownUp” element then “Mouse released” text will be written inside it.
Asked In: spotted while learning |
Alert Moderator