[jQuery] Re: Ajax forms help

2010-01-11 Thread MorningZ
":"4b40eea7-2608-4a3b-9c24-7cb04adcd75b"},"status":true,"h > tml":"this is a good test<\/p>\r\n"} > > Now to display the HTML but without all the <\/p>\r\n > > Dave > > > > From: John

RE: [jQuery] Re: Ajax forms help

2010-01-11 Thread Dave Maharaj :: WidePixels.com
;:"6186d5 5b8f0","profile_id":"4b40eea7-2608-4a3b-9c24-7cb04adcd75b"},"status":true,"h tml":"this is a good test<\/p>\r\n"} Now to display the HTML but without all the <\/p>\r\n Dave ____________ From: John Arr

RE: [jQuery] Re: Ajax forms help

2010-01-11 Thread Dave Maharaj :: WidePixels.com
#x27;] = true; //$response['html'] = $this->render('dummy'); $this->header('Content-Type: application/json'); echo json_encode($response); return; } From: John Arrowwood [mailto:jarro...@gma

RE: [jQuery] Re: Ajax forms help

2010-01-11 Thread Dave Maharaj :: WidePixels.com
ot;year_rec":{"year":"2010"},"description":"","id":"4ff9c8 f01b8","profile_id":"4b40eea7-2608-4a3b-9c24-7cb04adcd75b"},"status":true} And alert(response.data.id); => 4ff9c8f01b8 So its just the darn HT

RE: [jQuery] Re: Ajax forms help

2010-01-11 Thread Dave Maharaj :: WidePixels.com
-Original Message- From: Michael Geary [mailto:m...@mg.to] Sent: January-11-10 4:36 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Re: Ajax forms help The JSON part of your server response looks fine if you take out the two line breaks - I assume those are just an artifact of posting

Re: [jQuery] Re: Ajax forms help

2010-01-11 Thread John Arrowwood
ot;:true,"h > tml":"this is a good test<\/p>\r\n"}this is a good test > > But how would I display only the html section and clean it so its not all > slashed and escaped? > > Thanks > > Dave > -Original Message- > From: MorningZ [mailt

Re: [jQuery] Re: Ajax forms help

2010-01-11 Thread Michael Geary
; {"data":{"title":"","year_rec":{"year":"2010"},"description":"","id":"0936d6 > > 115e4","profile_id":"4b40eea7-2608-4a3b-9c24-7cb04adcd75b"},"status":true,"h

[jQuery] Re: Ajax forms help

2010-01-11 Thread Dave Maharaj :: WidePixels.com
d":"4b40eea7-2608-4a3b-9c24-7cb04adcd75b"},"status":true,"h tml":"this is a good test<\/p>\r\n"}this is a good test But how would I display only the html section and clean it so its not all slashed and escaped? Thanks Dave -Original M

[jQuery] Re: Ajax forms help

2010-01-11 Thread MorningZ
tml code went here') > > But when I returned my view data from the array it was all slahsed /" / / like that. > > -Original Message----- > From: Ibatex [mailto:mjgris...@gmail.com] > Sent: January-11-10 4:35 AM > To: jQuery (English) > Subject: [jQuery] Re: Ajax

RE: [jQuery] Re: Ajax forms help

2010-01-11 Thread Dave Maharaj :: WidePixels.com
view data from the array it was all slahsed mailto:mjgris...@gmail.com] Sent: January-11-10 4:35 AM To: jQuery (English) Subject: [jQuery] Re: Ajax forms help The beauty of json is that you can transfer alot of different data in an organized way. You can very easily send back success/failure

[jQuery] Re: Ajax forms help

2010-01-11 Thread Ibatex
The beauty of json is that you can transfer alot of different data in an organized way. You can very easily send back success/failure status along with the html. success: function(response) { // Response was a success if (response.status) {

[jQuery] Re: Ajax forms

2009-06-02 Thread Dave Maharaj :: WidePixels.com
Thanks! Appreciate the time. Dave _ From: Gustavo Salomé [mailto:gustavon...@gmail.com] Sent: June-02-09 5:41 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Ajax forms Its simple. Just remove the $.post function then do this: $(this).ajaxSubmit

[jQuery] Re: Ajax forms

2009-06-02 Thread Gustavo Salomé
Its simple. Just remove the $.post function then do this: $(this).ajaxSubmit({ type: 'post', url:'/update', * data: queryString,* target: '#userForm',