Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

madsmads

Member since Sep 2, 2010

Recent Blog Comments By madsmads

  • Using jQuery To Leverage The OnChange Method Of Inputs

    Posted on Sep 6, 2010 at 3:30 AM

    Hi again! It works now. Now I just need to figure out how to refresh the page asynchronously when the changes are made to the cookie. The code that worked for me looks like this: $(document).ready(function() { var jInput = $(":input"); jInput.change(function() { var ... read more »

  • Using jQuery To Leverage The OnChange Method Of Inputs

    Posted on Sep 4, 2010 at 3:00 PM

    @Ben, Yeah, I realised that as well, so the code now looks like this: $(InitPage); function initPage() { var jInput = $(":input"); jInput.change(function( objEvent ) { var itemAmount = $(this).val(); var itemID = $(this).siblings("input#itemID"... read more »

  • Using jQuery To Leverage The OnChange Method Of Inputs

    Posted on Sep 2, 2010 at 11:16 AM

    Woops, the 7th line of the code is of course as follows: var itemID = $(this).siblings("input#itemID ").val();... read more »

  • Using jQuery To Leverage The OnChange Method Of Inputs

    Posted on Sep 2, 2010 at 11:14 AM

    Hi Ben! Nice blog, lot's of good content. I have a question regarding the .change() event. I have a shopping cart, which automatically adds some <input> fields, with dynamic values (it extracts values from a cookie, and assigns the different values to the input fields). Now, here's the prob... read more »