HoiPolloi
02-15-2008, 02:22 PM
Is it possible to insert something like this:
<A HREF="javascript:void(0)"
onclick="window.open('URL',
'welcome','width=410,height=320')">
Open a new window</A>
into a sql statement like this:
if sLit_7cType = "html" then
objRegExp.Pattern = """\b"
sLit_7cFNAME = objRegExp.Replace(sLit_7cFNAME, "<em>")
objRegExp.Pattern = "\b"""
sLit_7cFNAME = objRegExp.Replace(sLit_7cFNAME, "</em>")
video = video & " <a href='/literature/" & sLit_7c & "." & sLit_7cType & " 'target=_blank'>" & sLit_7cFNAME & "</a><br />" & vbCr
end if
I'm trying to open up video that is being pulled from my database in a new browser with a determined window size but don't know if it's possible. I've read that javascript can not communicate with databases. Is there a way to do it with asp? Help!
<A HREF="javascript:void(0)"
onclick="window.open('URL',
'welcome','width=410,height=320')">
Open a new window</A>
into a sql statement like this:
if sLit_7cType = "html" then
objRegExp.Pattern = """\b"
sLit_7cFNAME = objRegExp.Replace(sLit_7cFNAME, "<em>")
objRegExp.Pattern = "\b"""
sLit_7cFNAME = objRegExp.Replace(sLit_7cFNAME, "</em>")
video = video & " <a href='/literature/" & sLit_7c & "." & sLit_7cType & " 'target=_blank'>" & sLit_7cFNAME & "</a><br />" & vbCr
end if
I'm trying to open up video that is being pulled from my database in a new browser with a determined window size but don't know if it's possible. I've read that javascript can not communicate with databases. Is there a way to do it with asp? Help!