Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

current date

 
Mattew Lee
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to have current date displayed on html page - perhaps within a label -- and I want it to be readonly.
I defined a today() function that returns the date.

I don't know how to call this function within a label tag in html.

Cheers,
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65223
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this in a pure HTML page, or a JSP?
 
Mattew Lee
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Is this in a pure HTML page, or a JSP?


Hi,
This one is solved and I marked this thread as a resolved. don't know how to delete it.
Thanks anyway.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65223
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you delete it? Why not help everyone out and post your solution?
 
Mattew Lee
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Why would you delete it? Why not help everyone out and post your solution?


Sure my friend, why not! I'm new here, so I thought that we must delete the post as soon as it is resolved.

Here we go:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic