Welcome Guest, Not a member yet? Register   Sign In
Passing values to a controller through jquery ajax post
#2

[eluser]pickupman[/eluser]
Not being able to see what element you have attached your submit/click handler to, but you may not properly getting the value form your form fields. What happens if you use:
Code:
alert('Email: ' + emailFromVal + ' Message: ' + messageToVal); //add this like to check if values are properly set
if (hasError == false)
//... rest of js

Or in Firefox, use firebug, check your console and see what data is being sent from the request.


Messages In This Thread
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 10:32 AM
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 12:33 PM
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 12:35 PM
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 12:44 PM
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 01:06 PM
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 02:36 PM
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 03:38 PM
Passing values to a controller through jquery ajax post - by El Forum - 07-16-2010, 07:54 PM
Passing values to a controller through jquery ajax post - by El Forum - 07-18-2010, 05:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB