Thank you, I wasn't sure whether or not to use $.load or $.ajax...
load seemed easier, but I guess I discovered it was inconsistent.
I modified my code to work with $.ajax
On Mar 17, 3:01 pm, James wrote:
> Don't use $.load. Use $.ajax (or $.get or $.post).
>
> $("#userlogin", "#container").eve
Also in the options you should add cache: false
On Wed, Mar 18, 2009 at 8:01 AM, James wrote:
>
> Don't use $.load. Use $.ajax (or $.get or $.post).
>
> $("#userlogin", "#container").everyTime(7500,function() {
> $.ajax({
> url: '/ajax/userlogin',
> type: 'POST',
>
Don't use $.load. Use $.ajax (or $.get or $.post).
$("#userlogin", "#container").everyTime(7500,function() {
$.ajax({
url: '/ajax/userlogin',
type: 'POST',
dataType: 'html',
success: function(data) {
if (data) {
$(thi
Don't use $.load. Use $.ajax (or $.get or $.post).
$("#userlogin", "#container").everyTime(7500,function() {
$.ajax({
url: '/ajax/userlogin',
type: 'POST',
dataType: 'html',
success: function(data) {
if (data) {
$(thi
4 matches
Mail list logo