Archive for the ‘jQuery’ Category

jQuery 1.4 Released

other-time-03

Just in case you missed it, jQuery 1.4 was released with significant speed improvements, bug fixes and of course some API changes that you need to be aware of.

One of the more interesting changes that I’ll note here is the decreased use of polling within the framework.  I’ve used polling myself to detect when elements are available, but jQuery now uses the readystatechange event instead of polling when possible.

I think I’ll try using that method myself on some of my apps.

The news of the jQuery release hasn’t gone unnoticed by the blogosphere:

Read the rest of this entry »

jQuery and ASP.NET UpdatePanel

iStock_000005899630Medium I’ve been busy over the last couple of weeks working on an administrative application that uses a ton of AJAXy stuff.

The application is interactive in the sense that every time a field is updated in the administrative screen, another part of the screen updates to show the user what the final result will look like when it is published.

Where things get tricky is that the screens use a considerable amount of jQuery to do things like binding to events so that updates will occur when the events fire.

But the main content that is being updated for one of my screens is actually in an UpdatePanel.  This is a problem, because in order for that screen to render correctly I have to run some jQuery code.  But the jQuery “ready” event doesn’t fire when the UpdatePanel gets updated.

So how do we fix that?

Read the rest of this entry »

jQuery, Each() and Async Gets

H04K0067

One of the things to keep in mind when using jQuery is that nothing is a blocking call.  Sure, there is a certain sequence to when things operate.  But, to be safe, you should always assume that step two will happen during step one.

Nowhere is this more evident than when retrieving content from a URL and inserting that content in your page.

Read the rest of this entry »

JQuery, Cufon, and Dynamic Content

J02B0015

Yesterday I mentioned a new tool called Cufon that allows you to easily embed fonts in your web site.

One quirk about this tool is that your HTML has to be rendered prior to applying, or refreshing, the font. If you are using any kind of AJAXy stuff in your site, you’ll need to re-apply the font change.  The trick is knowing when to do this.

Read the rest of this entry »

jQuery Expand/Collapse Using Head Tags

animal-010

I’ve spent a good chunk of the last two days working on an interesting project for one of my clients that I think the rest of the jQuery community could benefit from.

The task started when my client came to me with an existing script that was being used in a DotNetNuke system to expand and collapse content under head tags that was produced by an article editing system similar to the Text/HTML module.

Read the rest of this entry »

DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor