I adapted the following code from
here:
HTML:
- <button class="btn" name="btnAddlEmail" id="btnAddlEmail">Add Another Email</button>
Javascript:
- $("#btnAddlEmail").click(function () {
{
alert(email);
}
});
...but it's not working; I thought maybe it was some unrelated problem that was causing it not to work, but
What am I doing wrong in my Javascript?