Javascript is not displaying when in div and table boxes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MusoFreak200
    New Member
    • Oct 2009
    • 96

    Javascript is not displaying when in div and table boxes

    Can anyone please help me with this code as i cannot get the javascript to display in my product item display.

    the product numbers are prices in a separate file but i cannot display it as it is so extensive and it is only declaring the variables prices of products.

    Code:
    	<div id="ProductBG">
    		<div id="MainContentContainer">
    
    			<div id="ProductTitle">
    	            <script>
            	    	document.write("Ambience Floating Candles");
        	        </script>
                </div>
                
                <table id="ImgAndDescriptionContainer">
                <tr>
                <td>            
                	<div id="Img">
                    	<img alt="Ambience Floating Candles" src="http://bytes.com/submit/Pictures/picture_product9320600031626.png" width="100%" height="100%" />
                    </div>
                </td>
                <td id="RightContainer">
                    
    	                <div id="DescriptionInfoContainer">
        	            
                        <script type="text/javascript">
                            document.write("Price: ");
    					document.write("$" + product9320600031626);
    					document.write("<br />");
    					document.write("Description: ");
                        document.write("Attractive floating candles create an enchanting visual display for any pool. Ideal for pool parties and backyard BBQs. Scented candle included.");
                        </script>
    
            	        </div>
                        
                        <div id="QuanityContainer">
                        
                        <script type="text/javascript">
                            document.write("<b>Quantity: </b><input type=text size=3 maxlength=3 value=1 name=quantity>");
    
                        </script>
                                            
                        <select>
                            <option value="Blue">Blue</option>
                            <option value="Lavender">Lavender</option>
                            <option value="Pink">Pink</option>
                            <option value="White">White</option>
                        </select>
                        
                        </div>
                </td>
                </tr>
                </table>
    
    
                                
    		</div>
    	</div>
    i would love for any help and i give my appriceation in advance.
Working...