Click here to Skip to main content
16,004,887 members
Home / Discussions / Web Development
   

Web Development

 
Questionhow can i get element's content by css? Pin
nakey_yang21-Jun-04 5:13
nakey_yang21-Jun-04 5:13 
AnswerRe: how can i get element's content by css? Pin
Aaron Eldreth24-Jun-04 2:41
Aaron Eldreth24-Jun-04 2:41 
AnswerRe: how can i get element's content by css? Pin
Member 120167426-Jun-04 19:19
Member 120167426-Jun-04 19:19 
Generaldropdown list state problem Pin
Asim N.21-Jun-04 1:49
Asim N.21-Jun-04 1:49 
GeneralRe: dropdown list state problem Pin
Andrew Quinn AUS21-Jun-04 3:03
Andrew Quinn AUS21-Jun-04 3:03 
GeneralRe: dropdown list state problem Pin
Asim N.21-Jun-04 17:38
Asim N.21-Jun-04 17:38 
GeneralRe: dropdown list state problem Pin
Asim N.21-Jun-04 21:20
Asim N.21-Jun-04 21:20 
QuestionHelp me to figure this out please? Pin
JasonFoshee20-Jun-04 19:22
JasonFoshee20-Jun-04 19:22 
I have three problems with my current code.

1. I'm a newbi.

2. I have Parent/child linked dropdown boxes and they work great. I know how to add the onchange property but the child box doesn't have an empty value as its initial value. The initial value is a piece of data, but I can't select it because it isn't a change. I could use onclick, but that causes data to fill the page when I click on the box to drop it down and show data That I can choose from. I need help in figuring out how to set the initial value to an empty value.

3. The data in the child dropdown box are dates with times. Multiples of the same date, but with different times because the data is from a running log of transactions. I would like the results to be filtered so that there maybe 10 records of dates and times but, I want instead of showing all of those 10 records it shows one instance of that date.

I hope I haven't confused anyone. I appreciate all your help.

Here's my full code. I'm using a frameset and DreamWeaver MX.


<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_Sign_STRING
Recordset1.Source = "SELECT Name FROM SignOut ORDER BY Name ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<%
Dim Recordset2
Dim Recordset2_numRows

Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_Sign_STRING
Recordset2.Source = "SELECT Name, TimeModified FROM Log ORDER BY TimeModified ASC"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()

Recordset2_numRows = 0
%>



<title>Test



















<%
While (NOT Recordset1.EOF)
%>
" <%If (Not isNull((Recordset1_first))) Then If (CStr(Recordset1.Fields.Item("Name").Value) = CStr((Recordset1_first))) Then Response.Write("SELECTED") : Response.Write("")%> ><%=(Recordset1.Fields.Item("Name").Value)%>
<%
Recordset1.MoveNext()
Wend
If (Recordset1.CursorType > 0) Then
Recordset1.MoveFirst
Else
Recordset1.Requery
End If
%>








<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
AnswerRe: Help me to figure this out please? Pin
VenkatFor.NET21-Jun-04 16:53
VenkatFor.NET21-Jun-04 16:53 
GeneralRe: Help me to figure this out please? Pin
JasonFoshee22-Jun-04 3:24
JasonFoshee22-Jun-04 3:24 
GeneralMouseUp outside link/text? (Netscape) Pin
alexiworld20-Jun-04 2:42
alexiworld20-Jun-04 2:42 
GeneralMouseUp in other frame? (Netscape) Pin
alexiworld19-Jun-04 20:55
alexiworld19-Jun-04 20:55 
GeneralPassing multiple values Pin
Ph@ntom19-Jun-04 2:09
Ph@ntom19-Jun-04 2:09 
GeneralRe: Passing multiple values Pin
Roger Wright19-Jun-04 3:48
professionalRoger Wright19-Jun-04 3:48 
GeneralRe: Passing multiple values Pin
Rohit  Sinha19-Jun-04 18:57
Rohit  Sinha19-Jun-04 18:57 
GeneralRe: Passing multiple values Pin
palbano19-Jun-04 19:04
palbano19-Jun-04 19:04 
GeneralRe: Passing multiple values Pin
sivilian24-Jun-04 5:10
sivilian24-Jun-04 5:10 
GeneralURGENT! Problem migrating an ASP website onto Windows Server 2003 (Recordset Cursor/Bookmarks) Pin
Nathan Ridley18-Jun-04 17:28
Nathan Ridley18-Jun-04 17:28 
GeneralRe: URGENT! Problem migrating an ASP website onto Windows Server 2003 (Recordset Cursor/Bookmarks) Pin
Ph@ntom19-Jun-04 2:30
Ph@ntom19-Jun-04 2:30 
Questionwindow.open Search using QUOTES ?? Pin
ghoulardi17-Jun-04 17:11
ghoulardi17-Jun-04 17:11 
AnswerRe: window.open Search using QUOTES ?? Pin
palbano17-Jun-04 17:38
palbano17-Jun-04 17:38 
AnswerRe: window.open Search using QUOTES ?? Pin
palbano17-Jun-04 17:46
palbano17-Jun-04 17:46 
GeneralRe: window.open Search using QUOTES ?? Pin
Member 118301917-Jun-04 20:45
Member 118301917-Jun-04 20:45 
GeneralRe: window.open Search using QUOTES ?? Pin
Andrew Quinn AUS17-Jun-04 22:47
Andrew Quinn AUS17-Jun-04 22:47 
GeneralRe: window.open Search using QUOTES ?? Pin
Member 118301917-Jun-04 23:10
Member 118301917-Jun-04 23:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.