-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
post parameters #44
Comments
Hey! I signed up on github just to help you, because I've been trying to figure out this thing for half a day! Anyway here you go, I hope I got your question right: To send other values to that upload php you can use
In php it will look like: But it's not going to work with you jquery variables, it will show you an unexpected-blah-blah-error. So if you want to $_POST your variable you go like this:
Here is my code, it can help:
etc... and PHP:
|
still get Notice: Undefined index: idItem .. ??? |
very cool, the construct
works perfect for me and saved my day! I had another version working previously where I just added the token manually like so: however, this ceased to work, maybe due to some rails update. |
I'm trying to post some parameters to be persisted in the database but they are not sent through the post method
adding
post :{
param1:'value1',
param2:'value2'
}
I can't get these parameter in the server side I don't know why can somebody help me please
thanks in advance
The text was updated successfully, but these errors were encountered: