Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Can't get value from response.responseText

No Tags
UserPost

22:04
03/08/2012


JoeWhitlock

Member

posts 3

Post edited 17:45 – 06/08/2012 by JoeWhitlock
Post edited 17:50 – 06/08/2012 by JoeWhitlock
Post edited 17:52 – 06/08/2012 by JoeWhitlock
Post edited 20:50 – 06/08/2012 by JoeWhitlock
Post edited 00:28 – 07/08/2012 by JoeWhitlock
Post edited 00:30 – 07/08/2012 by JoeWhitlock
Post edited 00:32 – 07/08/2012 by JoeWhitlock
Post edited 00:33 – 07/08/2012 by JoeWhitlock
Post edited 00:34 – 07/08/2012 by JoeWhitlock
Post edited 17:18 – 07/08/2012 by JoeWhitlock


The .topinfo is displaying my response and reloading grid correctly now.  Check code.  But, I can't get the form to disappear if no errors.  Any ideas?  Thanks for any help.

afterSubmit:function (response,postdata) {
if (response.responseText != "") {
$('.topinfo').text(response.responseText);
$('.topinfo').css('color','red');
$('.topinfo').css('font','bold');
$('.topinfo').css('font-size','large');
return [true, '', response.responseText];
}else{
$(this).jqGrid("setGridParam", {datatype: 'xml'});
return [true];

$(".ui-icon-closethick").trigger('click');

return [false, '', response.responseText];
}
},
recreateForm: true,
reloadAfterSubmit: true,
height:250,
width:400,
jqModal:true
topinfo:' ',
bottominfo:"Fields marked with (*) are required"}, 

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

tester

58 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9657

Posts: 28943

Membership:

There are 10351 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7043 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information