Login Register

generate

Fields generated by javascript not posting?

I'm having a problem posting a form and was wondering if anyone here could help.

I have a form that has a user control inside of it, this user control will prompt for two dates, but the user has to be able to add as many date ranges as they want. So when they click the "Add" button, this code gets executed to generate the two textboxes. This is just one to make it easier to read:

var newSDTB = document.createElement('input');
newSDTB.id = this._count;
newSDTB.setAttribute('type', 'text');

Documentation Generation?

The Dojo API seems like it is autogenerated by some tool from comments in the source code.

Is this a facility that we can use for our own modules and namespaces? If so, can I get a tip or pointer on where to find documentation on how to do so... I haven't been able to find it so far.

Thanks very much.

---Scott Jenkins

Syndicate content