Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- $("#name, #phone, #email, .message_box").css("background-color","lightgrey");
- });
- $("#submit_button").on("click", function() {
- console.log("clicked");
- var comment = $(".message_box").val();
- console.log(comment);
- $("#visible-comment").html(comment +" .DON'T CONTACT ME!").css("color","red");
- return false;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement