SageFix. LetsFix!  
Current Location : Home > Web Development > JavaScript > Javascript date textbox Share/Save/Bookmark    

Main Menu
SageFix - Let's Fix

Board Categories
    Web Site Designing
- Graphics
    Web Development
- .NET
- Classic ASP
- JavaScript
- PHP
    WebSite Management
- Promotion Techniques
- Search Engine Optimization
    Databases
- MySQL

Tutorials

Database Connection Strings

  Contact Us


 1 - 2 of 2 [Total 1 Pages]  
Javascript date textbox      Jul 15, 2009, 06:40 1
  
Hi,

I'm not sure if this is the correct place to ask this, apologies if not. I'm looking for javascript to analyze the contents of a textbox and replace the contents with the appropriate date. To make that a little clearer, if the user types 'tomorrow' then when they tab/move onto the next text box the 'tomorrow' text should be replaced with the date for tomorrow in the format dd/mm/yyyy, if the user enters '1 week' then the text should be replaced with the date in one week in the format dd/mm/yyyy etc

I'm not (of course) asking anyone to write the code, I just wondered if anyone knew of an existing script to do this (or similar) before I throw it up on elance or something and get someone to write it for me.

Thanks!

 
      Jul 15, 2009, 07:06 2
  
php has strtotime()
You could use ajax to send the request to it.

 
 1 - 2 of 2 [Total 1 Pages]  









Subscribe to our mailing list
email


Current Location : Home > Web Development > JavaScript > Javascript date textbox Share/Save/Bookmark    

Development problem? SageFix is completely free -- paid for by advertisers and donations. Click here to Contact Us If you have any query. Enjoy!
Request processed in 9.0E-5 seconds Home - Contact Us - Terms Of Service - Privacy Policy - Copyrights - Top
Advertisements do not imply our endorsement of that product or service.
Current server time now is 06-Sep-2010 07:00:43
Copyright © 2009 Sagefix Inc. All rights reserved.
Powered By SageFix