In the following code I am trying to print out the value of document.body.o nclick from javascript:
<BODY onclick="alert( 'ok')">
...
<script type="text/javascript">
alert(document. body.onclick);
</script>
...
</BODY>
However, the alert in Javascript code prints out "undefined" when I open this page and...
User Profile
Collapse
-
Processing HTML events in Javascript - problem
-
Connect to MySQL database from another host.
I am trying to connect to MySQL database at on host (DBhost) from another host (PROGRAMhost).
While I try to connect to the database at DBhost from DBhost itself the next is working fine for me:
mysql_connect(" localhost","qdb name","dbpasswo rd")
Now I am trying to find out what to use instead of localhost? I tried to replace localhost with host's url:port (I tried number of ports)... -
Problem with IFRAME in Firefox
Please look at http://www.smarteus.com/test.html
There are 3 lines in the table there. When pressed each line is supposed to open/close IFRAME below itself. It works fine in IE, but in Firefox after number of opens/closes of some line you can see that a shadow aggregates below it.
Could somebody help me to resolve this?
No activity results to display
Show More