Posted by Joe | Posted in Ajax, JavaScript, jQuery | Posted on 23-02-2010
Posted by Joe | Posted in JavaScript, jQuery | Posted on 18-02-2010
Posted by Joe | Posted in Ajax, MVC, jQuery | Posted on 16-02-2010
Posted by Joe | Posted in JavaScript, jQuery | Posted on 15-01-2010
Earlier today I needed to force a clide side event to fire programatically using jQuery.
I found you can do this easily with the jQuery trigger method:
$("#myControl").trigger("change");
The above will trigger the change event of the control with ID ‘myControl’

Posted by Joe | Posted in ASP.NET, Ajax, JavaScript, jQuery | Posted on 12-01-2010
Download source
In this post I talked about how to use the jTemplates plugin for jQuery. Using my final example in the post I thought it would be cool to try and add some ‘edit in place’ functionality to the table.
For this to work I’ve created a Data Access Layer using Linq to XML. My web service then uses this DAL to save and retrieve my data.
Read the rest of this entry »

Posted by Joe | Posted in ASP.NET, Ajax, JavaScript, jQuery | Posted on 05-01-2010
Download source
A guy in work introduced me to jTemplates, a template engine plugin for jQuery. It allows you to easily bind JavaScript objects to a defined template and also has some other nifty features.
I’ve found jTemplates to be particularly good when using ajax to display any information quickly and easily.
First I’ll explain how to create a simple template to display data, and then how to use the foreach and cycle features.
Read the rest of this entry »

Download source
Making ajax calls to an ASP.NET web service using jQuery is too easy. In this post I’ll explain how to do it!
Read the rest of this entry »

Posted by Joe | Posted in JavaScript, jQuery | Posted on 30-12-2009
The Each method in jQuery is pretty useful and can be used to iterate through the elements within a jQuery object.
I’ve been using it recently to iterate through JavaScript arrays. It saves having to use a for loop and the code looks nicer.
Read the rest of this entry »
