Javascript / DHTML Web Log Entries

Showing 1 - 15 of 84   < Prev | Next >

You Cannot Submit Non-Rendered Forms

Posted: April 18, 2008 at 8:39 AM by Ben Nadel

Tags: Javascript / DHTML

The other night, at Rob Gonda's NYCFUG presentation , we were talking about jQuery and AJAX and I wondered if a non-rendered Form element could be submitted. By that, I mean a Form node that existed in memory but was not actually part of the rendered page's document object model (DOM). See this demo if you are not sure what I mean: <!DOCTYP... read more »

Comments (18)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink



Writing AJAX Return Value Logic On The Server

Posted: April 17, 2008 at 2:35 PM by Ben Nadel

Tags: ColdFusion, Javascript / DHTML

Traditionally, when dealing with AJAX, I have only ever had the server return JSON data or formatted HTML data. Then, in the client, I would take that return value and update the DOM using explicit manipulation. However, last night at the New York ColdFusion User Group , Rob Gonda demonstrated a very interesting idea. I am sure many out there h... read more »

Comments (13)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


jQuery Demo: Working With XML Documents

Posted: November 27, 2007 at 7:05 AM by Ben Nadel

Tags: ColdFusion, Javascript / DHTML

As we learn about AJAX (Asynchronous Javascript and XML), our first thought is that it is very cool. Our second thought is usually that XML sucks and it's such a pain in the butt to work with. With that discovery, many of us turn to using AJAX purely as a text/HTML delivery system or we switch to using JSON (Javascript Object Notation) which is in... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink



Exercise List: Procedural ColdFusion Code Complete (Phase I)

Posted: October 31, 2007 at 8:48 AM by Ben Nadel

Tags: ColdFusion, Exercise List, Javascript / DHTML

Click here to view the current Online Demo Click here to view / download the current Code Base Last night, I finished Phase I of my Exercise List journey into understanding Object Oriented Programming (OOP) in ColdFusion. Phase I was the "proceedural" phase; it was building the application in a quick, standard, proceedural way that does ... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Creating Transparent Gradients With jQuery

Posted: October 29, 2007 at 3:56 PM by Ben Nadel

Tags: Javascript / DHTML

Reading though Learning jQuery by PACKT Publishing , I came across a good amount of really cool stuff. Their thorough, in-depth examples were really inspiring and got the machinery firing full blast. One of the cool things they did with jQuery that I would have never thought of doing in a million years was to create a transparent gradient over a ... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Javascript Number.toFixed() Method

Posted: October 29, 2007 at 8:03 AM by Ben Nadel

Tags: Javascript / DHTML

While reading the book, Learning jQuery , I came across a Javascript method that I had never heard of. The .toFixed() method, which can only be called on numeric values, will return a string representation of the number with the given number of decimal places. For example, if you wanted to return a dollar formatted version of a number, you coul... read more »

Comments (7)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Learning jQuery By PACKT Publishing

Posted: October 29, 2007 at 7:00 AM by Ben Nadel

Tags: Books, Javascript / DHTML

While there are a lot of Javascript libraries out there, there's something special about jQuery. Right when you start to use it, it just feels right. Of course, trying to sell a manager or a co-worker on, "it just feels right", rarely works; it's important to be able to list out the reasons why something is good. Learning jQuery by PACKT Publis... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


jQuery Demo: Creating A Sliding Image Puzzle Plug-In

Posted: October 24, 2007 at 1:23 PM by Ben Nadel

Tags: Javascript / DHTML

Since I have been getting into jQuery a lot lately, what with reading the books and playing around with code, I felt I should try a more complicated type of plug-in. As such, I have created this jQuery demo plug-in which creates sliding-image puzzles based on containers that have images. Running the demo page we get this output: ... read more »

Comments (11)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


jQuery.empty() Kills Event Binding On Persistent Nodes

Posted: October 23, 2007 at 6:36 PM by Ben Nadel

Tags: Javascript / DHTML

I am not sure if this is a bug, a gross misunderstanding on my part, or just a side effect of the architecture of the document object model (DOM), but from what I can tell, using jQuery's .empty() method seems to unbind any event handlers to child nodes, even when they have persistent pointers. To show you what I am talking about, take a look at t... read more »

Comments (6)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


jQuery Attr() Function Doesn't Work With IMAGE.complete

Posted: October 23, 2007 at 2:03 PM by Ben Nadel

Tags: Javascript / DHTML

I ran into what I think is a jQuery bug this morning when testing to see if an image had finished loading. As you may or may not know, the image object has a boolean attribute, "complete", which determines whether or not the image has finished loading (either to success or failure/error). It seems, however, that this attribute can only be accessed... read more »

Comments (7)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


jQuery Reference Guide By PACKT Publishing

Posted: October 21, 2007 at 1:38 PM by Ben Nadel

Tags: Books, Javascript / DHTML

I just finished reading the jQuery Reference Guide: A Comprehensive Exploration of the Popular JavaScript Library , by PACKT publishing , co-authored by Jonathan Chaffer and Karl Swedberg. This book is fantastic! It's a bit strange to review a reference manual because it's really just listing out all the features of the API. But, it's the way in... read more »

Comments (6)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Cool jQuery Predicate Selectors

Posted: October 19, 2007 at 5:21 PM by Ben Nadel

Tags: Javascript / DHTML

I was reading up on jQuery last night and came across some cool jQuery predicate filtering in the selector statements. We have all seen the predicate for full attribute value matches: a[ @rel = 'nofollow' ] This would select all the links in the document object model that have a REL attribute value of "nofollow". In addition to the "=" compa... read more »

Comments (1)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


XMLHttpRequest Object Has An Abort() Method

Posted: October 19, 2007 at 4:21 PM by Ben Nadel

Tags: Javascript / DHTML

I made an update to the my Kinky File Explorer this morning to fix the bug involving the asynchronous behavior of the AJAX file loading. The problem was that if you clicked around the file tree fast, the code that you ended up with on the right hand side might not reflect the file tree selection. This was due to the fact that the order of AJAX c... read more »

Comments (2)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


jQuery And The Anticipation Of Greatness

Posted: October 17, 2007 at 8:46 AM by Ben Nadel

Tags: Javascript / DHTML

I have been using jQuery for a while now and the high has still not worn off. Even now, after I know what to expect, I find myself stopping in the middle of event wiring and thinking to myself, "This is so darn easy!" How is it possible that I'm still surprised as to how little jQuery code is required to make some really awesome stuff. It's just b... read more »

Comments (12)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Kinky File Explorer - ColdFusion And jQuery Based File Explorer

Posted: October 16, 2007 at 6:17 PM by Ben Nadel

Tags: ColdFusion, Javascript / DHTML

As a precursor to my Project Huge: Exercise List project (in which I will learn me some Object Oriented Programming goodness), I have very quickly revamped my ColdFusion and jQuery File Explorer and turned it into a new project. The Kinky File Explorer will provide me with a way to let you (the users) view my project code base in a read-only m... read more »

Comments (11)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink

Showing 1 - 15 of 84   Pages: 1 2 3 4 5 6 < Prev | Next >

Home   |   Web Log   |   ColdFusion   |   Projects   |   Resume   |   Job Form   |   Search   |   Contact
Epicenter Consulting - Custom Software Solutions for Business Evolution HostMySite.com - The Leader In ColdFusion Hosting