No Firebub Error but Script not Working
When the page loads, my script is supposed to create new contents for a div with the id of Client_Info if it does not contain any inside it.
var myElement= document.getElementbyID(Client_Info);
//Onload Check if the contents of Client_Info is equal to the value in the parenthesis
//Rewrite the contents with the following values
myElement.innerHTML=="<div id='Display' style='position:relative;width:100%;'>
<img alt='Faces' src='images/Clients/YourFullAd.jpg' id='Gallery' style='position:relative;margin-left:45%;top:10px;' >
<div id='ScopeCap' style='position: relative; margin-left:45%; top:65px;'> </div>
<body onLoad = "Delete_Div()" onUnload = "Delete_Div()">
<div id='Display'><img alt="Pets src='images/Clients/myDod.jpg' id='Gallery' ></div>
Please take a look and see where I went wrong, thanks in advance.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)