By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,341 Members | 1,700 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,341 IT Pros & Developers. It's quick & easy.

Javascript is not displaying when in div and table boxes

MusoFreak200
P: 96
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.

Expand|Select|Wrap|Line Numbers
  1.     <div id="ProductBG">
  2.         <div id="MainContentContainer">
  3.  
  4.             <div id="ProductTitle">
  5.                 <script>
  6.                     document.write("Ambience Floating Candles");
  7.                 </script>
  8.             </div>
  9.  
  10.             <table id="ImgAndDescriptionContainer">
  11.             <tr>
  12.             <td>            
  13.                 <div id="Img">
  14.                     <img alt="Ambience Floating Candles" src="http://bytes.com/submit/Pictures/picture_product9320600031626.png" width="100%" height="100%" />
  15.                 </div>
  16.             </td>
  17.             <td id="RightContainer">
  18.  
  19.                     <div id="DescriptionInfoContainer">
  20.  
  21.                     <script type="text/javascript">
  22.                         document.write("Price: ");
  23.                     document.write("$" + product9320600031626);
  24.                     document.write("<br />");
  25.                     document.write("Description: ");
  26.                     document.write("Attractive floating candles create an enchanting visual display for any pool. Ideal for pool parties and backyard BBQs. Scented candle included.");
  27.                     </script>
  28.  
  29.                     </div>
  30.  
  31.                     <div id="QuanityContainer">
  32.  
  33.                     <script type="text/javascript">
  34.                         document.write("<b>Quantity: </b><input type=text size=3 maxlength=3 value=1 name=quantity>");
  35.  
  36.                     </script>
  37.  
  38.                     <select>
  39.                         <option value="Blue">Blue</option>
  40.                         <option value="Lavender">Lavender</option>
  41.                         <option value="Pink">Pink</option>
  42.                         <option value="White">White</option>
  43.                     </select>
  44.  
  45.                     </div>
  46.             </td>
  47.             </tr>
  48.             </table>
  49.  
  50.  
  51.  
  52.         </div>
  53.     </div>
  54.  
  55.  
  56.  
i would love for any help and i give my appriceation in advance.
Jun 3 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.