This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Single vs Double Quotes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Single vs Double Quotes" Watch "Single vs Double Quotes" New topic

Single vs Double Quotes

L Tran

Joined: Jun 06, 2012
Posts: 7
The row in the table would highlight whenever I mouse over it.
This works perfectly in HTML but I would like to convert from HTML code to Javascritp code to make it more dynamic.

I tried to convert it to Javascript but it only gives me a blank screen.
This is very frustrating because I don't know where I'm going wrong.
Any comments of suggestions would be greatly appreciated.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63349

Why would you do this in JavaScript? That's complete nonsense. Just leave it as HTML.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
It is simple, you CAN NOT use document.write after the page load. You are doing that.

I agree. Here's the link:
subject: Single vs Double Quotes
It's not a secret anymore!