|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Novice in need of basic help
I'm currently working with Frontpage for the first time extensively and I've managed to create an ASP form through Frontpage that I have connected to a database. Right now I'm working on two elements that require HTML coding or a kind of VB I'm unfamiliar with. The first involves the basic ActiveX calendar - I just need it to be invisible until someone clicks a box, then appear, click for a value, and than that value is placed in the box. In Access the VB looks like this:
Sub Calendar_Click() Calender.value = dateregistered.value DateRegistered.setfocus Calendar.visible = false End sub Sub DateRegistered_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Calendar.visible = True Calendar.Setfocus If Not IsNull(DateRegistered) Then Calendar.Value = DateRegistered.Value Else Calender.Value = Date End If How would I do this in HTML? If anyone has the patience I have a question about coding the submit button as well. Thanks! |
|
#2
|
||||
|
||||
|
I have not tried using the Active X calendar, so if you are married to that solution, please ignore this message. There are many freely available javascript / asp pop-up calendars available that will provide the functionality you are describing without having to use ActiveX controls.
If you do a google search for javascript calendar you will find several many at no charge.
__________________
Neal Schafer The early worm gets eaten. |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Novice in need of basic help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|