Comments on: jQuery Ajaxify – Update http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191 Move along. Nothing to see here. Sat, 10 Jul 2010 21:13:52 +0000 hourly 1 http://wordpress.org/?v=3.0 By: dom111 http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-229 dom111 Fri, 12 Feb 2010 11:53:51 +0000 http://www.dom111.co.uk/blog/?p=191#comment-229 Hi Louie, I had a quick check of the source and it looks like it's not me, I think it's Max's version (http://maxblog.me/ajaxify) which I didn't know of when I originally made the script (No I didn't do any market research, I just made it!) Thanks for commenting! Hi Louie,

I had a quick check of the source and it looks like it’s not me, I think it’s Max’s version (http://maxblog.me/ajaxify) which I didn’t know of when I originally made the script (No I didn’t do any market research, I just made it!)

Thanks for commenting!

]]>
By: Louie http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-228 Louie Fri, 12 Feb 2010 11:37:22 +0000 http://www.dom111.co.uk/blog/?p=191#comment-228 Is this the same plugins used in the weather forecast part of this website : http://www.philjobspot.com I checked their source and it has an ajaxify plugins but seems a different one, I not sure though. Is this the same plugins used in the weather forecast part of this website : http://www.philjobspot.com

I checked their source and it has an ajaxify plugins but seems a different one, I not sure though.

]]>
By: dom111 http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-220 dom111 Mon, 07 Dec 2009 09:30:50 +0000 http://www.dom111.co.uk/blog/?p=191#comment-220 Hi David, I am aware of the other ajaxify plugin (<a href="http://maxblog.me/ajaxify" rel="nofollow">maxblog.me/ajaxify</a>) but as far as I know it doesn't work well with the newer jQuery versions... Apologies for any confusion, I'd picked the name before even searching for the other, didn't really expect anyone else would want to use it! :P I can give express permission in writing if required, or I can bundle a version of the script with the MIT or similar license, either way, please let me know. I would also like to set up a project page of sorts, I guess the closest to a project page is this post, when time allows I might have a bit of an overhaul... :) Thanks again, Dom Hi David,

I am aware of the other ajaxify plugin (maxblog.me/ajaxify) but as far as I know it doesn’t work well with the newer jQuery versions… Apologies for any confusion, I’d picked the name before even searching for the other, didn’t really expect anyone else would want to use it! :P

I can give express permission in writing if required, or I can bundle a version of the script with the MIT or similar license, either way, please let me know.

I would also like to set up a project page of sorts, I guess the closest to a project page is this post, when time allows I might have a bit of an overhaul… :)

Thanks again,

Dom

]]>
By: David Lee http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-219 David Lee Sun, 06 Dec 2009 12:31:25 +0000 http://www.dom111.co.uk/blog/?p=191#comment-219 You know, there's another project named jQuery Ajaxify that's very similar to this project. It caused a bit of confusion at my company :) All the more reason to have a project page. Having a github repo also an easy way to have a project page up. Check it out. The reason I asked about the license is because our company's legal department might force us to remove Ajaxify because it is not distributed under a license. It would be nice if you can include an MIT or similar license as a commented blurb at the top of your script so that our company can use it. You know, there’s another project named jQuery Ajaxify that’s very similar to this project. It caused a bit of confusion at my company :)

All the more reason to have a project page. Having a github repo also an easy way to have a project page up. Check it out.

The reason I asked about the license is because our company’s legal department might force us to remove Ajaxify because it is not distributed under a license. It would be nice if you can include an MIT or similar license as a commented blurb at the top of your script so that our company can use it.

]]>
By: dom111 http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-215 dom111 Fri, 04 Dec 2009 10:40:51 +0000 http://www.dom111.co.uk/blog/?p=191#comment-215 Hi David, Thanks for checking back! Yeah, I updated to serialize() after your comment, plus various other changes too... There is no project page as such, just this post (and any subsequent update posts!) and the project page on the jQuery site, maybe someday I'll knock one up? I was thinking of making two versions of the script, a 'lite' version and the full version, or maybe a pick and choose which features option, but as ever life gets in the way of the fun stuff! The code is free to use on any project, internal or external. I figure most people who'd want to use this would pay little heed to the various licenses... I'd really like to see any projects that this is used it though as it's cool to know you're helping out! Hi David,

Thanks for checking back!

Yeah, I updated to serialize() after your comment, plus various other changes too…

There is no project page as such, just this post (and any subsequent update posts!) and the project page on the jQuery site, maybe someday I’ll knock one up? I was thinking of making two versions of the script, a ‘lite’ version and the full version, or maybe a pick and choose which features option, but as ever life gets in the way of the fun stuff!

The code is free to use on any project, internal or external. I figure most people who’d want to use this would pay little heed to the various licenses… I’d really like to see any projects that this is used it though as it’s cool to know you’re helping out!

]]>
By: David Lee http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-211 David Lee Mon, 30 Nov 2009 23:18:58 +0000 http://www.dom111.co.uk/blog/?p=191#comment-211 Good to see you're using serialize(). Is there an official project page for this project? What license is the code distributed under? Good to see you’re using serialize().

Is there an official project page for this project? What license is the code distributed under?

]]>
By: Ola Herrdahl http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-210 Ola Herrdahl Mon, 16 Nov 2009 16:41:41 +0000 http://www.dom111.co.uk/blog/?p=191#comment-210 You might want to skip the update if the dataType is not html or text. Here is a quick work around for this issue: <pre lang="javascript">if (options.dataType == "html" || options.dataType == "text") { if (options.replace) { jQuery(options.update).html(data); } else { jQuery(options.update).append(data); } }</pre> You might want to skip the update if the dataType is not html or text.

Here is a quick work around for this issue:

if (options.dataType == "html" || options.dataType == "text") {
  if (options.replace) {
    jQuery(options.update).html(data);
  } else {
    jQuery(options.update).append(data);
  }
}
]]>
By: martin http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-208 martin Mon, 12 Oct 2009 01:41:01 +0000 http://www.dom111.co.uk/blog/?p=191#comment-208 Nice plugin...However, I'm not quite sure if I'm using it correctly. I have a container $(#container). I want every link inside to be ajaxed into it even when the content is replaced. Initially it has just one link to do the initial load. $('#container a', this).ajaxify(); //load the widget $('a.widget-trigger', this).trigger('click'); This works, however, links inside don't get ajaxified. So I tried a delegation approach: $('#container', this).ajaxify(); That doesn't work at all. Any idea what I need to do to make it work? Nice plugin…However, I’m not quite sure if I’m using it correctly.

I have a container $(#container). I want every link inside to be ajaxed into it even when the content is replaced. Initially it has just one link to do the initial load.

$(‘#container a’, this).ajaxify();
//load the widget
$(‘a.widget-trigger’, this).trigger(‘click’);

This works, however, links inside don’t get ajaxified.

So I tried a delegation approach:

$(‘#container’, this).ajaxify();

That doesn’t work at all.

Any idea what I need to do to make it work?

]]>
By: dom111 http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-207 dom111 Wed, 07 Oct 2009 08:35:45 +0000 http://www.dom111.co.uk/blog/?p=191#comment-207 Hi David, Thanks for your comment! After checking out the serialize() function, I agree. I can't think of a reason that I didn't use it originally! It would have avoided all the previous bugs! Typical... I'll get a new version up-together and let you know when I do. Thanks, Dom Hi David,

Thanks for your comment! After checking out the serialize() function, I agree. I can’t think of a reason that I didn’t use it originally! It would have avoided all the previous bugs! Typical…
I’ll get a new version up-together and let you know when I do.

Thanks,

Dom

]]>
By: David Lee http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/comment-page-1#comment-205 David Lee Wed, 07 Oct 2009 00:51:01 +0000 http://www.dom111.co.uk/blog/?p=191#comment-205 Hi there, thanks for the plugin! There's a bug, however, where it calls escape instead of encodeURI to escape values. You can just do a search & replace to change all 6 instances of escape into encodeURI. Actually, just using encodeURI will break since it won't escape '=' and '&'. The correct thing to do would be to get rid of serializeForm() and just use jQuery's serialize(). Hi there, thanks for the plugin! There’s a bug, however, where it calls escape instead of encodeURI to escape values. You can just do a search & replace to change all 6 instances of escape into encodeURI.

Actually, just using encodeURI will break since it won’t escape ‘=’ and ‘&’. The correct thing to do would be to get rid of serializeForm() and just use jQuery’s serialize().

]]>