I am trying to add jQuery to work with my web site and this is my first excursion into jQuery. For some reason, I just can\'t get it to work and I am unsure of why. There ar
Remove #
from id
attribute of input
Change
<input type="file" id="#Image1">
To
<input type="file" id="Image1">
Use \\
to escape #
$("#\\#Image1").change(function () {
alert("triggered");
});
Fiddle DEMO
From Docs
To use any of the meta-characters ( such as !"#$%&'()*+,./:;<=>?@[]^`{|}~ ) as a literal part of a name, it must be escaped with with two backslashes: \\.