﻿$(document).ready(function () {
    $("#email").click(function () {
        if ($(this).val() == "Email Address") {
            $(this).val("");
        }
    })

    $("#send").click(function () {
        var eml = $("#email").val();
        if (eml == "") {
            alert("Enter valid Email Address");
            return;
        }
        $.post("/handlers/subscribe.ashx", { email: eml }, function (result) {
            alert(result);
        });

    });
})







