Pop Up With ASP Results (Full Version)

All Forums >> [Web Development] >> ASP, PHP, and Database



Message


Mav44 -> Pop Up With ASP Results (10/6/2009 9:43:27)

I am trying to use javascript for a popup with the full results of a field. I limit the results on my page but I was hoping to allow the user to click the comments on my page to see the full explanation. The code below looks for a web page with my comments as the url.

<a onclick="window.open('<%=comments%>');return false;"<%=comments%>"><%=(Left(comments,30))%>




Tailslide -> RE: Pop Up With ASP Results (10/6/2009 11:30:47)


quote:

ORIGINAL: Mav44

I am trying to use javascript for a popup with the full results of a field. I limit the results on my page but I was hoping to allow the user to click the comments on my page to see the full explanation. The code below looks for a web page with my comments as the url.

<a onclick="window.open('<%=comments%>');return false;"<%=comments%>"><%=(Left(comments,30))%>


I can't help you with the ASP stuff but could I suggest not having a pop-up window just in case people have new windows disabled (I do!) or have scripting disabled (or security up high) - they'll never see the popup.





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625