Event: <a class="btnTwo btnTwoOrange btnSelectSend" href="JavaScript:" id="btnSelectSend" onclick="SendEmail();">Gönder</a> Javascript: <script type="text/javascript"> function SendEmail() { var bookId = document.getElementById("BookID").value; var name = document.getElementById("sendername").value; var email = document.getElementById("senderEmail").value; $.ajax({ type: "POST", url: "Forbes.aspx/SendEmail", data: "{ bookId: '" + bookId + "',name: '" + name + "',email: '" + email + "'}", contentType: "application/json; charset=utf-8", dataType: "json", async: "true", cache: "false", success: function (...
Work smarter, not harder.