Jan 31
Anibal Escobar lp_client_param and jquery ajax calls L9
Jan 31, 2013; 11:37
Anibal Escobar
lp_client_param and jquery ajax calls L9
Hi, I just wanted to share with the list an issue I came across in
converting L8 code to L9. In L9, the venerable lp_client_param tag
returns an error when its called by a jquery ajax call in Firefox,
both Mac and Windows. It works as expected in Safari, Chrome and IE
9. When the page is called directly in the browser (all browsers), it
works as well, the issue only occurs in an ajax call. The workaround
is simple, of course, just use action_param, but I bring this up
mostly as a heads up for those converting to L9. I haven't tested all
permutations of the jquery ajax call, what I used was:
$('#button').click(function() {
var params = $('#form :input').serializeArray();
$.post('/test.html',params,function(data) {
$('#result').html(data).css('display','block');
});
return false;
});
Thanks,
Anibal Escobar
646 336 5000 x8821
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jan 31
Jonathan Guthrie Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 12:02
Jonathan Guthrie
Re: lp_client_param and jquery ajax calls L9
Jan 31
Anibal Escobar Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 12:25
Anibal Escobar
Re: lp_client_param and jquery ajax calls L9
Jan 31
Jonathan Guthrie Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 13:17
Jonathan Guthrie
Re: lp_client_param and jquery ajax calls L9
Jan 31
Steve Piercy - Web Site Builder Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 10:25
Steve Piercy - Web Site Builder
Re: lp_client_param and jquery ajax calls L9
Jan 31
Anibal Escobar Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 13:39
Anibal Escobar
Re: lp_client_param and jquery ajax calls L9
Jan 31
Jonathan Guthrie Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 13:58
Jonathan Guthrie
Re: lp_client_param and jquery ajax calls L9
Jan 31
Jolle Carlestam Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 20:00
Jolle Carlestam
Re: lp_client_param and jquery ajax calls L9
Jan 31
Kyle Jessup Re: lp_client_param and jquery ajax calls L9
Jan 31, 2013; 16:12
Kyle Jessup
Re: lp_client_param and jquery ajax calls L9