SoftCraft Web Design Studio

SoftCraft Web Design Studio

Website Design, Logo Design, Graphic Design, CMS, SEO

SoftCraft Web Design Studio RSS Feed
 
 
 
 

Using YQL as a proxy for cross-domain Ajax

OK, this is nothing shockingly new, but I found it pretty useful. Using jQuery, Ajax has become more or less a one-liner:
PLAIN TEXT
JAVASCRIPT: $(document).ready(function(){   $(’.ajaxtrigger’).click(function(){     $(’#target’).load($(this).attr(’href’));     return false;   }); }); This loads the document any link with a class of “ajaxtrigger” points to and updates the content of the element with the ID “target”. If [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Tags:

Related posts

Leave a Reply

Shopping Cart

Your shopping cart is empty

Visit the shop

SoftCraft Web Design Studio

Categories

Web Design

  • Estate Agent Pro

Call now:

Skype Me™!
Call Me™!

ESTATE AGENT PRO

02.The brokers or agencies that will use the advantages of the site will actually need just a few clicks to add and customize the new offers, plus they can add unlimited amount of images and descriptions as long as they wish.

  • Estate Agent Pro

Subscribe to Newsletter

Loading...Loading...


Recent Tips

Tags