How does one retain the value of a drop-down box when the form is re-loaded after a verification routine?
I have a dropdown box:
<select name="shiurFreq" size="1" tabindex="8" onchange="if(this.selectedIndex == 1)
{document.Frontpage_form1.shiurDateText.style.display='inline'...
I wish to convert 3 numbers (for example, 10, 5, 2004) to a date and then subtract that date from today's date.
I tried writing something like this
enteredDate = cInt(Request.Form("smonth")) & "/" & cInt(Request.Form("sday")) & "/" & cInt(Request.Form("syear"))
response.write date -...
Guys, please help a beginner! I can't find where I'm going wrong. I have the following dropdown box:
<select name="mLast" size="1" tabindex="8">
<option selected>Any Speaker</option>
<%=SF_GetSpeakerSELECT(Request.Form("mLast"))%>
</select>
This is populated by the following code...
When trying to insert a record into an Access database, I get the following error message:
strSQL:INSERT INTO shiur (username,slanguage,shiurFor,shiurType,sTitle,mTitle,mFirst,mLast,shiurFreq,date,time,sduration,venue,city,contact,comments,add_date,status) VALUES('smith',2,1,3,'Something...
When the user submits the page, a validation routine is run. If there is an error, the page refreshes WITH all the previously entered data.
Thus, if he selected "10 mins", but the validation routine finds an error on some other entered data, then the refresh screen should still show "10 mins
Where in the code for a Drop-Down Box, does one place the ASP code for a cookie?
When I place it as shown below, I get an error message.
<select size="1" name="sDuration">
<option selected>Duration</option>
<option>05 min</option>
<option>10 min</option>...
Is there a way to ensure (and verify) that a viewer inputs the correct time - hours and minutes - WITHOUT having to put drop-down boxes on my page.
I could place two drop-down boxes on the page (one for the hours and one for the minutes), but ideally, I would like to see just an Input Box with...
I have an OPTION Box and an INPUT Box. When someone chooses as specific OPTION, then the INPUT Box must become visible, otherwise it must remain hidden.
I've tried the code below, but it doesn't work. Any advice?
<select name="Style">
<option selected>--Select Style--</option>...
I have a popup window that currently works for a specific 'surname' entry.
<a href="javascript:popup('send_email.asp?surname=<%=rsUsers("surname")%>',360,400,'no')">Send EMail</a>
My problem is how to write the same code using a surname AND first name. I seem to be having problems with the...
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.