mredkj.com logo

An update blog for mredkj.com

What's this blog about?

mredkj.com is an unfocused programmer resource from Matt, Eric, and Keith

This blog will keep you up to date with our latest site changes.

Tuesday, August 30, 2005

JavaScript - Submit all select options

tutorial007.html

Whether selected or not, use JavaScript to submit all the values in a dropdown box.

If you're looking for a way to submit all the options in a select list, then try one of the two techniques demonstrated in this tutorial.

posted by Keith [8/30/2005 02:09:00 PM] - permalink - 1 comments

JavaScript validate as you type

validate2.html

Only numbers. Negative allowed at beginning. 2 decimal places allowed.

I appreciate any feedback about the script, or about the usability of the validation.

posted by Keith [8/30/2005 02:05:00 PM] - permalink - 12 comments

Wednesday, August 24, 2005

Formatting a number in JavaScript

numberFormat.html

The number format section at mredkj has been updated to better explain the alternatives to formatting numbers in JavaScript. Most pages were rewritten, and some were archived. Also, version 1.5.4 of NumberFormat was released.

If you have any questions about formatting numbers in general, or about the NumberFormat script, you can post them here.

posted by Keith [8/24/2005 09:40:00 AM] - permalink - 3 comments

Friday, August 19, 2005

A personal account of gas prices

gasprices.html

I've kept track of my gas purchases, and decided to publish a subset of the data at mredkj.com. It's not enough information on which to do statistical analysis, but it gives a rough idea of trends in gas prices.

posted by Keith [8/19/2005 09:12:00 PM] - permalink - 0 comments

VS.NET- VB.NET - Check for reserved SQL Words

SQLReservedWords.html

A quick and easy way to check any table or field / column names against reserved words in MS SQL. It is simply an arraylist intialized using an array which can be checked for reserved words.

posted by Keith [8/19/2005 08:46:00 PM] - permalink - 0 comments

Thursday, August 18, 2005

VS.NET - ASP.NET -Javascript Functions for Textboxes

TextboxScriptFunctions.html

There are times when you need to perform some actions on controls without postbacks or that are not possible to perform on the serverside. Here are a handful of examples using Textboxes as an example control.

posted by Keith [8/18/2005 10:18:00 AM] - permalink - 0 comments

VS.NET - ASP.NET -ToolTip per node in ASP.NET Treeview control

ASPTreeviewToolTip.html

Microsoft's Treeview Webcontrol does not have a tooltip which works on a per node level. Here are two solutions to the problem.

posted by Keith [8/18/2005 10:16:00 AM] - permalink - 0 comments

Tuesday, August 16, 2005

Table Basics - Add Rows / Delete Rows

tablebasics1.html

I think some people are arriving at the mredkj.com pages tableaddrow.html and tabledeleterow.html and finding more than they need, so I put together a simple tutorial.

I plan on creating another tablebasics page (I didn't name this one tablebasics1 for nothing), and restructuring the other more advanced examples in tableaddrow and tabledeleterow.

posted by Keith [8/16/2005 03:28:00 AM] - permalink - 8 comments

Friday, August 05, 2005

VS.NET - ASP.NET - Autocomplete Dropdownlist control

AutoCompleteDropdownlist.html

VS.NET - ASP.NET - Autocomplete Dropdownlist control
ASP.NET Autocomplete Dropdownlist control with SelectedIndexChange postback events.

posted by Keith [8/05/2005 12:38:00 AM] - permalink - 0 comments

Monday, August 01, 2005

HTML Table Delete Row

tabledeleterow.html

Add rows and delete specific rows dynamically from an HTML table.

Update: 2005-08-16
version 1.0
Stuck with the basic structure of BETA-3.

Update: 2005-08-10
version: BETA-3
I've rewritten the code. The delete row script is still in beta, but I like the current version better than previous versions, so it's basically what I plan on releasing as version 1.0. The current version, BETA-3, addresses the question in Mark's comment below. Existing rows with delete buttons/checkboxes can be loaded now.

posted by Keith [8/01/2005 04:48:00 AM] - permalink - 71 comments