Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Javascript
Date as initial form value
Date as initial form value
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Caracol
#1
Date as initial form value
Jul 23 '05, 01:00 PM
Hi!
Using javascript
: How to add the client date as a field initial value.
Thanks !!!
--
Facundo
Thomas 'PointedEars' Lahn
#2
Jul 23 '05, 01:00 PM
Re: Date as initial form value
Caracol wrote:
[color=blue]
> Using javascript
: How to add the client date as a field initial value.[/color]
Using client-side JavaScript and HTML 4.01:
<script type="text/javascript">
document.write(
'<input value="'
+ functionToForma tTheDate(new Date())
+ '">');
</script>
<noscript>
<input>
</noscript>
PointedEars
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment