bypeClealaMarfl
New Member
I just can't work it out. I need to send a POST request to PHP backend. It should be the following:\[code\]Array ( [username] => 'username' [password] => 'password' [action] => 'login' ) \[/code\]I have a form as a frontend and i use .serialize() to get the user and password. But how can i add the action key/value?For now i just add the string manually like "\[code\]&action=login\[/code\]" but i don't like this solution. An other problem is that i can't use any jQuery plugins, only jQuery itself.