File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 63548

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

[Asking smart questions] [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!