I am getting the following error, using jQuery POST method in Firefox.
Could not convert JavaScript argument
http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
Line 4
I am using the following code to post information:
jQuery.post("/webadmin/submitnewarticle",
{
'title': jQuery('#Titletext'),
'submenuname': jQuery('#submenuname'),
'status': jQuery('#status')
},
function(data) {
alert("Data Loaded: " + data);
},"json" );
Use
jQuery('#Titletext').val(), otherwise you’ll send a a jQuery object not its value. And the same.val()for submenuname and status.