Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(".btn").click(function() {
- var to = $("#to") val();
- var subject = $("#subject") val();
- var message = $("#message") val();
- $.post("compose.php", {
- to:to,
- subject: subject,
- message: message
- }, function(success) {
- alert("Sent");
- });
- });
Add Comment
Please, Sign In to add comment