Show Hide with ASP
am 06.10.2004 22:53:37 von C White
Hi All
It's been several years since I've done any ASP programming and I've
recently been thrown back into it so I am very rusty, to say the least.
I use a javascript, in regular html, you click on the link and it
displays more information below:
src="images/plus.gif" border="0"> Another question?
Another answer!!
rather than store everything in a static page all the information is in
a database and I can use the following ASP code to display it:
'Write the HTML to display the current record in the recordset
Response.Write (rsCallLog("ID"))
Response.Write (" ")
Response.Write (rsCallLog("Question"))
Response.Write (" ")
Response.Write (rsCallLog("Date"))
Response.Write (" ")
Response.Write (rsCallLog("Answer"))
Response.Write ("
")
'Move to the next record in the recordset
rsCallLog.MoveNext
however this displays both the question and answer, i would like to hide
the answer until a link is clicked
now my porblem is this, whenever I try to integrate the show/hode
javascript I keep getting errors and it displays nothing, I know the
problem is with how I am coding it, there is somehting wrong with my
syntax, I know that when you want a quote mark to be displayed as html
code you have to double the quote mark, but I think I'm missing a lot
more than that
I have been trying, very unsuccessully for the last day to find my
answer on the web and there is nothing about making that javascript work
in asp
If anyone can point me in the right direction here that would be greatly
appreciated
Thanks
Re: Show Hide with ASP
am 06.10.2004 22:59:48 von unknown
This is all client side coding. I suggest you inquire in a client-side
group. And instead of posting all the response.write things, you should
paste in the relevant html and javascript from a view-source of your page.
Ray at work
"C White" wrote in message
news:41645b52$1@news.nnrp.ca...
>
>
> now my porblem is this, whenever I try to integrate the show/hode
> javascript I keep getting errors and it displays nothing, I know the
> problem is with how I am coding it, there is somehting wrong with my
> syntax, I know that when you want a quote mark to be displayed as html
> code you have to double the quote mark, but I think I'm missing a lot more
> than that
Re: Show Hide with ASP
am 06.10.2004 22:59:48 von unknown
This is all client side coding. I suggest you inquire in a client-side
group. And instead of posting all the response.write things, you should
paste in the relevant html and javascript from a view-source of your page.
Ray at work
"C White" wrote in message
news:41645b52$1@news.nnrp.ca...
>
>
> now my porblem is this, whenever I try to integrate the show/hode
> javascript I keep getting errors and it displays nothing, I know the
> problem is with how I am coding it, there is somehting wrong with my
> syntax, I know that when you want a quote mark to be displayed as html
> code you have to double the quote mark, but I think I'm missing a lot more
> than that
Re: Show Hide with ASP
am 06.10.2004 23:11:49 von C White
Can you suggest such a newsgroup as the only ones i can see right now in
english are the microsoft.public.inetserver.asp* ones
Ray Costanzo [MVP] wrote:
> This is all client side coding. I suggest you inquire in a client-side
> group. And instead of posting all the response.write things, you should
> paste in the relevant html and javascript from a view-source of your page.
>
> Ray at work
>
> "C White" wrote in message
> news:41645b52$1@news.nnrp.ca...
>
>>
>>now my porblem is this, whenever I try to integrate the show/hode
>>javascript I keep getting errors and it displays nothing, I know the
>>problem is with how I am coding it, there is somehting wrong with my
>>syntax, I know that when you want a quote mark to be displayed as html
>>code you have to double the quote mark, but I think I'm missing a lot more
>>than that
>
>
>
Re: Show Hide with ASP
am 06.10.2004 23:11:49 von C White
Can you suggest such a newsgroup as the only ones i can see right now in
english are the microsoft.public.inetserver.asp* ones
Ray Costanzo [MVP] wrote:
> This is all client side coding. I suggest you inquire in a client-side
> group. And instead of posting all the response.write things, you should
> paste in the relevant html and javascript from a view-source of your page.
>
> Ray at work
>
> "C White" wrote in message
> news:41645b52$1@news.nnrp.ca...
>
>>
>>now my porblem is this, whenever I try to integrate the show/hode
>>javascript I keep getting errors and it displays nothing, I know the
>>problem is with how I am coding it, there is somehting wrong with my
>>syntax, I know that when you want a quote mark to be displayed as html
>>code you have to double the quote mark, but I think I'm missing a lot more
>>than that
>
>
>
Re: Show Hide with ASP
am 06.10.2004 23:24:02 von unknown
The groups with "dhtml" in their names, or
microsoft.public.scripting.jscript. But, it does appear that you are not
connected directly to MS's news server, so if your news provider has
comp.lang.javascript, that one's probably the best. I don't really visit
the client-side groups too often, but I believe that comp.lang.javascript is
quite active. The MS jscript group is a bit of a ghost town sometimes.
Ray at work
"C White" wrote in message
news:41645f96$1@news.nnrp.ca...
> Can you suggest such a newsgroup as the only ones i can see right now in
> english are the microsoft.public.inetserver.asp* ones
>
> Ray Costanzo [MVP] wrote:
>> This is all client side coding. I suggest you inquire in a client-side
>> group. And instead of posting all the response.write things, you should
>> paste in the relevant html and javascript from a view-source of your
>> page.
>>
>> Ray at work
>>
>> "C White" wrote in message
>> news:41645b52$1@news.nnrp.ca...
>>
>>>
>>>now my porblem is this, whenever I try to integrate the show/hode
>>>javascript I keep getting errors and it displays nothing, I know the
>>>problem is with how I am coding it, there is somehting wrong with my
>>>syntax, I know that when you want a quote mark to be displayed as html
>>>code you have to double the quote mark, but I think I'm missing a lot
>>>more than that
>>
>>
Re: Show Hide with ASP
am 06.10.2004 23:24:02 von unknown
The groups with "dhtml" in their names, or
microsoft.public.scripting.jscript. But, it does appear that you are not
connected directly to MS's news server, so if your news provider has
comp.lang.javascript, that one's probably the best. I don't really visit
the client-side groups too often, but I believe that comp.lang.javascript is
quite active. The MS jscript group is a bit of a ghost town sometimes.
Ray at work
"C White" wrote in message
news:41645f96$1@news.nnrp.ca...
> Can you suggest such a newsgroup as the only ones i can see right now in
> english are the microsoft.public.inetserver.asp* ones
>
> Ray Costanzo [MVP] wrote:
>> This is all client side coding. I suggest you inquire in a client-side
>> group. And instead of posting all the response.write things, you should
>> paste in the relevant html and javascript from a view-source of your
>> page.
>>
>> Ray at work
>>
>> "C White" wrote in message
>> news:41645b52$1@news.nnrp.ca...
>>
>>>
>>>now my porblem is this, whenever I try to integrate the show/hode
>>>javascript I keep getting errors and it displays nothing, I know the
>>>problem is with how I am coding it, there is somehting wrong with my
>>>syntax, I know that when you want a quote mark to be displayed as html
>>>code you have to double the quote mark, but I think I'm missing a lot
>>>more than that
>>
>>
Re: Show Hide with ASP
am 07.10.2004 00:01:42 von C White
Thank you, I'll give the ms one a try
Ray Costanzo [MVP] wrote:
> The groups with "dhtml" in their names, or
> microsoft.public.scripting.jscript. But, it does appear that you are not
> connected directly to MS's news server, so if your news provider has
> comp.lang.javascript, that one's probably the best. I don't really visit
> the client-side groups too often, but I believe that comp.lang.javascript is
> quite active. The MS jscript group is a bit of a ghost town sometimes.
>
> Ray at work
>
> "C White" wrote in message
> news:41645f96$1@news.nnrp.ca...
>
>>Can you suggest such a newsgroup as the only ones i can see right now in
>>english are the microsoft.public.inetserver.asp* ones
>>
>>Ray Costanzo [MVP] wrote:
>>
>>>This is all client side coding. I suggest you inquire in a client-side
>>>group. And instead of posting all the response.write things, you should
>>>paste in the relevant html and javascript from a view-source of your
>>>page.
>>>
>>>Ray at work
>>>
>>>"C White" wrote in message
>>>news:41645b52$1@news.nnrp.ca...
>>>
>>>
>>>>
>>>>now my porblem is this, whenever I try to integrate the show/hode
>>>>javascript I keep getting errors and it displays nothing, I know the
>>>>problem is with how I am coding it, there is somehting wrong with my
>>>>syntax, I know that when you want a quote mark to be displayed as html
>>>>code you have to double the quote mark, but I think I'm missing a lot
>>>>more than that
>>>
>>>
>
Re: Show Hide with ASP
am 07.10.2004 00:01:42 von C White
Thank you, I'll give the ms one a try
Ray Costanzo [MVP] wrote:
> The groups with "dhtml" in their names, or
> microsoft.public.scripting.jscript. But, it does appear that you are not
> connected directly to MS's news server, so if your news provider has
> comp.lang.javascript, that one's probably the best. I don't really visit
> the client-side groups too often, but I believe that comp.lang.javascript is
> quite active. The MS jscript group is a bit of a ghost town sometimes.
>
> Ray at work
>
> "C White" wrote in message
> news:41645f96$1@news.nnrp.ca...
>
>>Can you suggest such a newsgroup as the only ones i can see right now in
>>english are the microsoft.public.inetserver.asp* ones
>>
>>Ray Costanzo [MVP] wrote:
>>
>>>This is all client side coding. I suggest you inquire in a client-side
>>>group. And instead of posting all the response.write things, you should
>>>paste in the relevant html and javascript from a view-source of your
>>>page.
>>>
>>>Ray at work
>>>
>>>"C White" wrote in message
>>>news:41645b52$1@news.nnrp.ca...
>>>
>>>
>>>>
>>>>now my porblem is this, whenever I try to integrate the show/hode
>>>>javascript I keep getting errors and it displays nothing, I know the
>>>>problem is with how I am coding it, there is somehting wrong with my
>>>>syntax, I know that when you want a quote mark to be displayed as html
>>>>code you have to double the quote mark, but I think I'm missing a lot
>>>>more than that
>>>
>>>
>
Re: Show Hide with ASP
am 07.10.2004 23:11:22 von Dave Anderson
Ray Costanzo [MVP] wrote:
> ...The MS jscript group is a bit of a ghost town sometimes.
All the more reason to send him over, Ray. If anything makes it a ghost
town, it's a lack of new threads. Most everything over there gets prompt
attention.
--
Dave Anderson, m.p.s.jscript ghost
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Re: Show Hide with ASP
am 07.10.2004 23:11:22 von Dave Anderson
Ray Costanzo [MVP] wrote:
> ...The MS jscript group is a bit of a ghost town sometimes.
All the more reason to send him over, Ray. If anything makes it a ghost
town, it's a lack of new threads. Most everything over there gets prompt
attention.
--
Dave Anderson, m.p.s.jscript ghost
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Re: Show Hide with ASP
am 07.10.2004 23:33:00 von unknown
And I see the thread was given attention in that group. Good! :]
Ray at work
"Dave Anderson" wrote in message
news:e4I%230ILrEHA.2948@TK2MSFTNGP11.phx.gbl...
> Ray Costanzo [MVP] wrote:
>> ...The MS jscript group is a bit of a ghost town sometimes.
>
> All the more reason to send him over, Ray. If anything makes it a ghost
> town, it's a lack of new threads. Most everything over there gets prompt
> attention.
Re: Show Hide with ASP
am 07.10.2004 23:33:00 von unknown
And I see the thread was given attention in that group. Good! :]
Ray at work
"Dave Anderson" wrote in message
news:e4I%230ILrEHA.2948@TK2MSFTNGP11.phx.gbl...
> Ray Costanzo [MVP] wrote:
>> ...The MS jscript group is a bit of a ghost town sometimes.
>
> All the more reason to send him over, Ray. If anything makes it a ghost
> town, it's a lack of new threads. Most everything over there gets prompt
> attention.