wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes html:submit.... problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

html:submit.... problem

Priyanka Chopda
Ranch Hand

Joined: Jul 22, 2003
Posts: 112
Hi, I have very simple problem.
I have this javascript which generated today's date and on "onclick" event will display this date in textbox. But when I try this I keep on getting error at <html:submit on click="today(this.form"> object doesn't support this property??Can anybody tell me what's wrong?
Thanks in advance
Junilu Lacar

Joined: Feb 26, 2001
Posts: 4445

This is a JavaScript question. I suspect it's because this is interpreted as the button, not the document. Try passing document.forms[0] instead.
Moving to the JavaScript forum.

Junilu - [How to Ask Questions] [How to Answer Questions]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
This is already here....locking it/
I agree. Here's the link: http://aspose.com/file-tools
subject: html:submit.... problem
Similar Threads
Setting the Value of a RadioButton on Load
strange onclick
javascript calculating between 2 dates
onclick event
Accessing the Struts form object in JavaScript