-2

I'm following Album tutorial on Zend Framework 2's website, and I want to send object that have been converted to Json and pass controller via AJAX, I can invoke the method on the controller as well as receive Json from controller, but I don't know how to send parameter to it.

Thanks for reading and sorry for my bad English.

2
  • 2
    Provide what you have tried yet. This will increase the probabilityto get your answer . Commented Mar 4, 2015 at 9:37
  • see my answer stackoverflow.com/a/8489447/949273 Commented Mar 4, 2015 at 10:46

1 Answer 1

0

Do you mean pushing parameters to your controller via AJAX, like this?

 $.post('/your/url', { value: val, row: row, element: element }, //parameters
 function (ret) {

});
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.