Nick Doulgeridis Nick Doulgeridis - 1 year ago 162
Ajax Question

Symfony 1.4 Ajax

I want to make a form on ajax in Symfony Framework. The problem is the only way I found is with jquery and .load function. But with this way how to pass post values? I don't want hardcode anything so be flexible, but how make ajax submission form in symfony 1.4 with post data? How pass input posts in the load function?

Thanks a lot.

Answer Source

.load is fine. You can grab the values of the form with jquery.

The only issue is that you will have to bind the form manually yourself(in the controller). I consider that the bigger issue :P

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download