Loading an edit form in a jquery modalbox cakephp 2.x -


i've been following blog tutorial in cookbook , has worked ok, need display edit form (posts/edit.ctp) inside modalbox kinda here

http://www.webbedit.co.uk/people/demo

and submit using ajax, ive got working ajax submit form working in cakephp installation, need have working inside modalbox now

the problem dont have knowledge of jquery or ajax, i've looking solution or tutorial , found work cakephp 1.3 or lower versions, need cakephp 2.x tutorial please, there can please?

if use jquery ajax , use submit event change to:

from:

$('#yourformid').submit(function(){  }); 

to:

$('body').on('submit','#yourformid',function(){    //add ajax code }); 

and if use 'click' event exchange 'submit' click

if handle ajax other way please add example question


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -