I find what the problem is ! This calendar I'm using on the page shows date in dd/mm/yyyy format in text field, but when using
var startdate = new Date(form.datum1.value)
I get mm/dd/yyyy ! How to convert one of these ?
Thanks both of you, I'll check and see this.
It doesn't have to check date format bacause the only way to enter the value in field is by using popup calendar
I'm working on a page with two dates displayed in
two textfialds (startDate and endDate).
User enters them from js calendar. After that, and before
db search, dates have to be validated -
startDate > today
endDate > startDate
startDate <> endDate
I written function as below:
function...
Thanks, but it's on page with no author's e-mail adress.
I did send question, hope something help.
Btw, code is downloaded from
http://www.java-scripts.net/javascripts/Calendar-Popup.phtml
I have page with a java calendar for picking two dates -
date_from and date_to. This is a part af an .asp page that searches database records.
When user chose date from a calendar, it displays in input field.
What I need is a function that checks if choosen date_from
is not in the past...
Thanks for reply !
I define two dates
Dim beginDate
Dim endDate
then change that part of <a href... >, but still no data on next page. I've input values 100 and 200 to test this
href. detail.asp?ID=<%=(Recordset2.Fields.Item("ID").Value)%>&beginDate = "100"&enddate="200"
and on next page...
I have page with table in which are results from db, and two dates entered by user on previous page (used in query to search db). There can more results, I resolve this using repat region behaviour in DW (maybe should be in that forum ?). In each row there is link to next page using ID connected...
Hi to all. This q is probably sily for most of you, but for me...
How to convert numbes from 3 dropdown lists into a date ? On a page there are a 3 dropdown lists where user can select day, month and year.
Then it should search a database is the date (entered in the dropdown's)...
I'm writing again on the similar subject. How to make dependent lists populated from database ? I've read answer by Paul Prewett, I try that example, but it doesn't work. Mr. Prewett, if you reading this, can I have your e-mail adress ? The problem is: let's say you have DB with two tables: Make...
I've read tech note "Creatig client side dynamic dependent list boxes", but I just can't understand how to relate them. I have to choose car manufacturer from first "parent" list box (I take this dynamicly from a database), and model from "child" list box...
What I want to do is to build pages that search database as follows: you have dropdown menu on first search page, where you choose something (let's say it's a car manufacturer and you have few of them,you choose Ford), click on the button and then go to other page that also contains couple of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.