Question: I am trying to pull data from my populated javascript table. How do I pull the value from a javascript row? I am using

```
            for (var i = 0; i < rowCount; i++) { 
            var row = table.rows[i]; 
            //This is where I am having trouble 
               var chkboxIndicator = row.cells[0].childNodes[1]; 
               alert(chkboxIndicator);
            //
            if (chkboxIndicator == indicator && Checkbox.checked == false) { 
                table.deleteRow(i); 
                rowCount--; 
                i--; 
            } 
        } 

```

which has an alert message of "undefined". I tried .value and .text as well and no progress. How do I get the text from the childNodes?

Answer: 
jQuery is an option because it makes event handling consistent across browsers, however, writing a simple function that does it is across all browsers in a concise manner is fairly trivial too, so just for this widget I wouldn't recommend creating a dependency on jQuery.

Oh, and think of the input type as a widget or component with a decent public interface that you can just instantiate and embed in any page that needs it. Take a look at how most web calendaring solutions like Google Calendar achieve it, since they need to account for periodical events too, and still keep it simple for the end users. They have a solution to the UI problem of getting really complex recurring times such as:

* Every 5 years on July 13
* Every 2 months on the second Tuesday
* Weekly on Tuesday, Wednesday
* Every 4 days

in a simple manner for an end user. Here are a few examples:

**Yearly repetition with a custom step size**

[alt text http://img17.imageshack.us/img17/8122/picture1be.png](http://img17.imageshack.us/img17/8122/picture1be.png)

**Monthly repetition with a custom step size on a certain day of the month**

[alt text http://img706.imageshack.us/img706/8036/picture2so.png](http://img706.imageshack.us/img706/8036/picture2so.png)

Use a self-contained script file that contains the widget, let's say `ScheduleWidget.js` that you can reference on each page that needs it, or maybe it gets bundled in a minified/packed script, so all pages have access to it.

Keep the interface simple, so with minimal effort it can be inserted into any DOM element.

```
var widget = new ScheduleWidget();
var container = document.getElementById("scheduleContainer");
// getElement() returns the root DOM node of the dynamically constructed widget.
container.appendChild(widget.getElement());

```

When the `ScheduleWidget` object is instantiated, it sets up all event bindings so list selection, changes, etc. trigger a change in the logic/UI as needed.
I have been looking for an answer to this question too.

I do think Google calendar is a great example of how this can be done well, I think there is still a good opportunity for some kind of JQuery plugin or other javascript library. 

For any given web applications it will be rare that a GUI will need to be able to create every entry in crontab. For instance, Google Calendar has an impressive array of scheduling options, but still does not support "every other minute from now on"...

For the web application that I am working with now, anything over "monthly" is too long, and anything under "daily" also does not work I only want to have the following options

```
daily options
 daily
 once every two, three or four days
weekly options
 A set number of times per week (like:once, twice, etc)
 weekly on a schedule (like: Tues, Thurs, and Sat)
monthly options
 A set number of times per month (like: four, five, six)
 monthly on a schedule (like: 1st, 7th, 13th, and 21st)
 monthly on a weekly schedule (like: 1st Tuesday, 2nd Wednesday, Last Friday)

```

But it seems pretty obvious to me that what I want is merely a subset of a larger scheduling frequency system that includes hourly, 'minutely', yearly and yearly+ options

I will be exploring the javascript show/hide options further and will try to remember to extend this answer further when I get those done.