i have a validation.js file
var name = $(\"#name\"); $.ajax({ type: \"get\", url: \"test.jsp\", data: \"n
You will need to pass the value or the text of the #name object. Like this:
var name = $("#name").val(); var name = $("#name").text();