raviprakashg Posted May 5, 2006 Share Posted May 5, 2006 dear Friends,Any Javascript for Masking Date InPut Field Please, its very urgentthksUrs Raviprakash Link to comment Share on other sites More sharing options...
aspnetguy Posted May 5, 2006 Share Posted May 5, 2006 what do you mean mask date inout field? Force it into a certain format??? Link to comment Share on other sites More sharing options...
Nakor Posted May 5, 2006 Share Posted May 5, 2006 Masking it makes me think he wants it hidden. The only way to hide data so that it appears as an asterisk or a solid dot is to set the input field as password. <input type="password"> Link to comment Share on other sites More sharing options...
aspnetguy Posted May 5, 2006 Share Posted May 5, 2006 Masking it makes me think he wants it hidden. The only way to hide data so that it appears as an asterisk or a solid dot is to set the input field as password.<input type="password"> <{POST_SNAPBACK}> Linux and Unix and Networking use the term 'mask' as a format, something to 'overlay' to make the object conform to the proper format.Not sure if that is what he meant either??? Just a guessing game right now Link to comment Share on other sites More sharing options...
raviprakashg Posted May 8, 2006 Author Share Posted May 8, 2006 Ok,I want to Control User to Feed the date as MM/DD/YYYY HH:MM:SS AM/PMthe InPut Box will be Like This "--/--/----/ --:--:-- --" this is Like Phone No. Input Boxi came to know that the is can be done thur JSi Hope u guy can Understand Now. Link to comment Share on other sites More sharing options...
snowboard01 Posted May 8, 2006 Share Posted May 8, 2006 why not just make 3 input boxes likemonth:(input box) day:(input box) year:(box) then use maxlengh for the number of characters they will need. than validate it at the end so the number of characters they need to type to make a valid day or year or month are in Link to comment Share on other sites More sharing options...
scott100 Posted May 8, 2006 Share Posted May 8, 2006 Maybe this post can help you out: http://w3schools.invisionzone.com/index.ph...ic=3873&hl=date Link to comment Share on other sites More sharing options...
raviprakashg Posted May 10, 2006 Author Share Posted May 10, 2006 ok, How to Check Time with AM/PM Link to comment Share on other sites More sharing options...
raviprakashg Posted May 10, 2006 Author Share Posted May 10, 2006 ok, How to Check Time with AM/PM Link to comment Share on other sites More sharing options...
scott100 Posted May 11, 2006 Share Posted May 11, 2006 You could build a 24 hour clock and let the user select a time <script>document.write('Time: <select>');for(i=0;i<=23;i++){ for(j=0;j<=59;j++) { var hourz=""; var minutz=""; if(i<10){hourz=0;}; if(j<10){minutz=0;}; document.write('<option value="'+hourz+i+':'+minutz+j+'">'+hourz+i+':'+minutz+j); }}document.write('<\/select>');</script> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now