instaed of display='block';//which causes the element to bahave like a block
use the more correct:
display='';//causes the default for the element
or even:
display='table-row';// for table-rows!
Lets focus here on the problem. Forget you PHP codings for now. The question is whether you can attach(through parameter) a URL that some button in the applet will send to. By writing code in your applet yes! But can/did you write the applet code? Explain what your applet is - is it a button...
The point is that you have called the script before the element has even loaded on the page! So do it in a function which can be called onevent(like onload):
<script language="JavaScript">
function change() {
document.all.portfolio.innerHTML = "hooray";
}
</script>
</head>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.