• Using JQuery to disable all form fields

    Updated: 2010-12-23 16:05:00
    , , , : Shaun Mccran My digital playground Home About Me Portfolio Projects Gallery Xbox 360 Contact 23 D E C 2010 Using JQuery to disable all form fields Posted By Shaun Related Categories : JQuery HTML Whilst writing a new timesheet application I added a function to lock' an entire dataset , IE stop a user from editing the form on the page . I'd spent a lot of time layout the timesheet page , designing the form , and help text etc . I didn't really want to destroy the visuals if a record was locked , I wanted it just the same , but non-active' . This is where JQuery is simply awesome . Understanding selectors' and the power they can give you , with only very simple construction is key . In this example imagine a page that has a div within it , the div has a id of divLabel' . Within that

  • Filtering a SELECT field using AJAX and JQuery

    Updated: 2010-12-22 09:51:00
    , , , : Shaun Mccran My digital playground Home About Me Portfolio Projects Gallery Xbox 360 Contact 22 D E C 2010 Filtering a SELECT field using AJAX and JQuery Posted By Shaun Related Categories : AJAX JQuery RIA Coldfusion I've got a select form field , and I want it to change based on a search string that someone enters . Luckily for me the select field is dynamically driven from a database , so the most obvious way for me to do this is to make an AJAX post request using the string entered to amend the SQL query building the field . This article shows you how to do this , there is a demo of the select field using AJAX here : http : www.mccran.co.uk examples jquery_textfilter_selectfield Firstly create a form with a select field in it . I have populated mine with a query , like this .

  • The mathematics of solving the UK snow problem

    Updated: 2010-12-19 16:31:00
    , , , : Shaun Mccran My digital playground Home About Me Portfolio Projects Gallery Xbox 360 Contact 19 D E C 2010 The mathematics of solving the UK snow problem Posted By Shaun Related Categories : Social General Interest I've had enough of the UK news whining about the weather conditions . I was raised in Scandinavia , where they have a more resolute disposition towards the snow . It is something that happens every year , and you learn to get on with it . So I got to thinking , what do I do when it snows I get out there and I clear it off . I grab the shove broom and I clear it out of the way . What would happen if the able bodied population of the country did the same , instead of sitting around complaining Manpower is free , and its readily available . This article examines the

  • Showing and hiding Divs using JQuery and a select field

    Updated: 2010-12-16 15:30:00
    , , , : Shaun Mccran My digital playground Home About Me Portfolio Projects Gallery Xbox 360 Contact 16 D E C 2010 Showing and hiding Divs using JQuery and a select field Posted By Shaun Related Categories : JQuery HTML Ever want to show and hide div elements using form controls JQuery makes this sort of functionality super easy . In this blog entry I'll show you how to create a simple JQuery function that shows and hides elements based on a form select field . You can see an example of the finished script here : Demo JQuery show hide using a select field This example will use the value selected from the form field to show a correspondingly named div . It's a good example of how using classes to name your elements well can make your life easier later on . Firstly setup your page , calling

  • DotNetNuke 5.6.1 Beta

    Updated: 2010-12-16 13:56:40
    The Accidental Geek One Geek's Journey Search Sign in Home Subscribe DotNetNuke 5.6.1 Beta Dec 16 The beta release of DotNetNuke 5.6.1 is now available for download on CodePlex In the past we have not made public beta’s available for the maintenance releases because there wasn’t much time between when we started QA and when we actually released . 160 Given the recent change in our maintenance release to every 2 months , and the extra time afforded by the winter holidays , we have decided to release a beta for 5.6.1 so that people have a chance to test what we’ll be releasing in January . 160 At this point , the code is pretty stable and we have a very small list of outstanding regression issues we are working on for this release . 160 You can see the list of outstanding issues on the

  • Sensationalist mobile usage claims - is mobile usage changing?

    Updated: 2010-12-15 16:57:00
    , , , : Shaun Mccran My digital playground Home About Me Portfolio Projects Gallery Xbox 360 Contact 15 D E C 2010 Sensationalist mobile usage claims is mobile usage changing Posted By Shaun Related Categories : Social Mobile I like to keep abreast of the technology industry in general , and one of the recent articles published by the inquirer piqued my interest . http : www.theinquirer.net inquirer news 1932583 offers-unlimited-smartphones Its all about data plans from 3' and how they have gone from a 1 gig limit to an unlimited tariff . The problem with the article is this quote , from Marc Allera , Three's sales and marketing director . We expect to see more people using mobiles than PCs to access the internet by 2015. It's the sort of sensationalist statement that is supposed to create

  • Learning Event-Driven Programming Best Practices From Web Browsers

    Updated: 2010-12-13 15:47:00
    Event-driven programming is an area of computer-science that I have really been trying to wrap my head around. So far, it has been an interesting but slow journey. One of the things that I have come to realize, however, is that event handlers should never be able to trigger themselves. That is, an event handler should never be able to raise an event that is bound to the currently-executing event handler. Doing so would likely result in an infinitely recursing chain of events. ... ead More raquo;

  • Differences in calling a function in JQuery

    Updated: 2010-12-08 13:45:00
    , , , : Shaun Mccran My digital playground Home About Me Portfolio Projects Gallery Xbox 360 Contact 08 D E C 2010 Differences in calling a function in JQuery Posted By Shaun Related Categories : Best practices JQuery Javascript I'm still playing around with some aspects of JQuery , and I noticed recently that I was still writing functions in the old school JavaScript fashion . I was constructing a JQuery selector , and then pointing the event handler to a separate JavaScript function . Like this : print about ColdFISH is developed by Jason Delmore . Source code and license information available at coldfish.riaforge.org type change(changeFields function changeFields( var selected type option:selected val( formElems' hide( selected show( 1 type change(changeFields 2 3 function changeFields(

  • Fable 3 review : post ending re think

    Updated: 2010-12-07 17:47:00
    , , , : Shaun Mccran My digital playground Home About Me Portfolio Projects Gallery Xbox 360 Contact 07 D E C 2010 Fable 3 review post ending re think Posted By Shaun Related Categories : XBox360 When I first loaded up fable 3 I thought that it was a more accessible version of Fable 2. I was convinced that to try and reach a greater audience Lionhead had produced a dumbed down , easy to use for everyone , but un-engaging for actual gamers , experience . I was wrong . The reason I've decided to write this Fable 3 article is because I've had a u-turn . I initially agreed with most of the game site reviews out there , but having played through it , I have a very different view . After persevering with the main quest , and playing through most of the side quests , there is actually a lot more

  • links for 2010-12-07

    Updated: 2010-12-07 13:01:24
    Workflow for Remote CVS, Local Git (tags: git cvs) git-extras Little git extras. (tags: git extras) jquery Mobile (tags: jquery mobile javascript) FuncUnit Functional testing framework for jquery (so it seems). (tags: jquery ajax javascript testing) JavaScriptMVC (tags: javascript jquery web) jQuery BBQ: Back Button & Query Library Don't break that back button! (tags: javascript jquery web ajax) Jquery PubSub Simple pubsub mechanism for jquery (tags: jquery javascript)

Current Feed Items | Previous Months Items

Nov 2010 | Oct 2010 | Sep 2010 | Aug 2010 | Jul 2010 | Jun 2010