i have 3 text boxes in html "name, email, comments", i want to print in console as object using jquery but it's not working.

`Object {name: "Ali", email: "ali@gmail.com", message: "hi there"}`

```
<form action="jq_ajax_contact.php" class="ajax" method="post">
        <div><input type="text" name="name" placeholder="Your name"></div>
        <div><input type="text" name="email" placeholder="Your email"></div>
        <div><textarea name="message" placeholder="Your messsage"></textarea></div>
        <div><input type="submit" value="send"></div>
    </form>

```