Discussion Locked

Simple HTML/JavaScript Q. - please help

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am novice at ASP, but am frustrated w/ something that seems so simple HTML. I have a form with a piece of javascript that incorporates a calendar applet, which you select the date, and it places it in the input-textbox. Now when I submit the form, I should be able to reference the value contained in the input box. But my efforts have been fruitless....Here is the code.
(I am commenting out, in case post executes HTML)

<%response.write ???%> name of form or inputtextbox?? I tried both, and get no value.

Thank you for you speedy help!

4 replies

by rsp05

I guess to make the question much shorter: How can you pass a JAVASCRIPT variable back to an ASP variable?

by quahsays

you should be referencing the name of the textbox that contains the date.

i.e. response.write request.form('VonDatum')

if your date picker does not show on the textbox, then there's a problem. i can recommend another solution.

by rsp05

I tried your suggestion, and doesn't seem to work. The problem is the value in the textbox is not getting passed from the JScript world to ASP. Any other clues?

This discussion is closed to new replies.