Symfony jQuery ajax request

I'm new in symfony , and dont understand the way how to do ajax request . I read symfony chapter18 for ajax and some google result but I can't explain myself this info . I need translate myself how I can do someting like this in symfony $(".but_addlap").live("click",function(){ $.ajax({ url: "laps_edit.php", type: "POST", data: "some data, success: function(result1) { put some data from result into div } in procedure php I create php file to do some things , get answer and return answer into div . please help me to understand how to do this in Symfony . what I need to write in action, layout and others .. I hope my english is not to bad to understand my post .

以上就是Symfony jQuery ajax request的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准