I am trying to pass the clicked event (event.target) to a function inside a function that is being called when clicked how would i do this?
function showGrid(){
updateTag()
}
function updateTag(){
/*how do i get the event.target passed here? */
alert(e.target)
}
$(".gridViewIcon").click(function(e) {
showGrid();
});