Displaying keyword search results 1 - 5
Created by James on July 04, 2009 16:30:40 Last update: January 11, 2011 21:21:59
If you are looking for a solution for a progress bar, I direct you to the following resources: Bare Naked App provides a simple and elegant solution based on pure CSS with two images. You control the percentage of completion through the background-position attribute of the CSS. HTML:
<img src="/images/percentImage.png" alt="...CSS:
Created by James on May 24, 2009 20:14:25 Last update: January 11, 2011 20:07:38
In the following HTML code, I attached an inline handler to the text field input and added two event handlers with addEventListener / attachEvent . Both IE and Firefox called the inline handler first. But the order in which the added event handlers were called are different between IE and Firefox (IE calls attached_click2 first). Further, if I add the same event handler multiple times, IE calls the handler the same number of times. But Firefox only calls the same handler once, no matter how many times it was added.
Created by James on January 04, 2011 16:22:43 Last update: January 05, 2011 13:43:06
Created by Dr. Xi on November 15, 2007 04:40:44 Last update: November 15, 2007 04:40:44
Here's some simple Ajax code. The Ajax response is delivered as XML with attributes and an array of data payloads contained in CDATA sections:
// ajax.js function ajaxGet(url, ajaxCallback) ...And the HTML test code:
Created by Dr. Xi on October 17, 2007 21:12:08 Last update: October 17, 2007 21:12:08
When setting an input field to "readonly", you have to set the attribute "readOnly" (with a capital O) to true . Setting the "readonly" attribute has no effect.
var field = document.getElementById("theFieldN...