aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

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
-PC
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4705
    
    7

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
This is already here....locking it/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:submit.... problem