Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Patrick G. #1
Javascript being a pain...
Hi...
I have a javascript function that when an image is moused over it will
display some text in a div elsewhere on the page.
Problem is this text is coming from a database and can contain anything... I
am currently having trouble with a set of double quote right together ("").
I need a in all-cases way to make sure I don't get these unterminated string
constant errors. I have no control over what the text is. I'm not a big fan
of javascript but have to use it for this so I need a hand if at all
possible.
=== The function ===
function swapText(message,id){
document.getElementById(id).innerHTML = message;
}
== called on like ==
<a href="page.asp"
onmouseover="swapText('<%=(strRolloverText)%>','ro lloverText');">
many thanks for any help.
PG
Patrick G. Guest
-
nextSibling Pain
Im having a problem with using nextSibling. - I do not want to contiue to add nextSibling.nextSibling.nextSibling - I have tried unsuccessfuly to... -
Datagrid ... pain .... HELP!
Hi every1, I have trying to learn datagrid to do simple things but since day 1 running into problems after problems for really simple things. ... -
Recycling aspnet_wp.exe a pain in the !@#$%
I've been spending some time recently writing some ASP.NET authentication code that relies on CAS to minimize the threat posed by luring attacks.... -
Installing php with gd what a pain!
Hello Guys, I am trying to install php 4.3.2 with gd support. I have already installed zlib and jpeg-6b. My configure line options are as below:... -
for xml explicit is a pain!!!
I am running a for xml explicit procedure with about 18 tags - tag 3 uses a table called projects for instance, tag 12 uses the projects table...



Reply With Quote

