I am having problems using the onmouseover command in linux. The same code
works fine in windows.Below in a simple example of what is not working:
...some code missing...
function display()
{
parent.right_frame.document.form1.textbox1.value='Hello you!';
}
<A HREF="jframe1.htm"
onMouseover="javascript:display()" target="_top" >Show text</A>
...some code missing...
I am currently adding hyperlinks to submit buttons in order to use the
onmouseover command to display different images from a database and pass
values from the database at the same time to the next page. The code I am
using is below. If solving the simple solution above will solve the one
below then thanks. Otherwise, do you have any thoughts on the code below
in a linux browser?
The script below is used in a while loop to generate buttons, each one
displaying the name of the item in the database, and carrying a unique
value:
$ID=$myrow["ItemClassID"];
$desc=$myrow["ItemClassDescription"];
echo "<form action=\"displayitems.php \"method=\"get\">";
echo "<a href='displayitems.php'";
echo "onMouseOver=";
printf
("\"parent.right_frame.document.form2.image1.src='../getdata_from_database.
php? Item_ID=$ID'\"");
echo "<input type=submit width=\"10\" value=$desc name=\"test\">";
echo ("</td></Tr>");
echo "</a>";
echo "</form>";