TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Shishu Singh
NA
69
1.1k
What is the use of event parameter in function(event)
Feb 3 2018 9:52 PM
Hello Champs,
I am new for j qyery and just trying to inhance it through https://learn.jquery.com/about-jquery/how-jquery-works , written a jquery function that
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="script/jquery-3.3.1.min.js"></script>
<script>
$(document).ready(function () {
$("a").click(function (event) {
alert("Thanks For Visiting !");
});
});
</script>
</head>
<body>
<a href="http://jquery.com/">jQuery</a>
</body>
</html>
Its working fine,But if i excluded event from function(event) and run the code then no change in result Then i want to know what is the use of event here.
Reply
Answers (
1
)
Sum is coming in (-) and value is adding up
var filename = $('#fileData').val()