Hey,
I just can't work it out. I need to send a POST request to PHP backend. It should be the following:
Array ( [username] => 'username' [password] => 'password' [action] => 'login' )
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 "&action=login
" but i don't like this solution. An other problem is that i can't use any jQuery plugins, only jQuery itself.