This is a simple little exercise to show how to copy form values from one set of fields into another. The sample will be a “check box if billing information is the same as contact information.” To set this up, first we create the form fields: Next we paste in the jquery code: That’s it!
How to implement paging with c#, mvc, nHibernate, ICriterion
There is a really cool jQuery tool (http://tablesorter.com/docs/index.html) that uses PFM Technology (Pure Freakin’ Magic) to make your html table just magically page and sort. It works great with MVC and nHibernate, but I wanted to get fancy and make my own. Turned out to be surprisingly easy. Here’s what I did: Preparing the Controller [...]
State Dropdown List
As the title implies, this post simply has a list of US States to populate a dropdown list:
Dual listboxes in jquery
Ok, so this one should be simple, more for reference. The goal is to create a dual list box using jQuery and MVC. To accomplish this, we are going to use the “appendTo” manipulation (http://docs.jquery.com/Manipulation). You can also download the dual listbox code sample here. Add two select boxes, and four buttons Add javascript handlers [...]
How to add or delete a row to a html table using jQuery, MVC, and JsonResult
This post covers a piece of functionality I’m always using, and just wanted a spot where I can do some quick copy/paste. There are a few pieces of functionality needed to make this happen, and the technology used, here are the assumptions about your environment: ASP.NET MVC 1.0 jquery-1.3.2.js nHibernate (optional) You can download the [...]




