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 Meta tag javascript problem, help? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Meta tag javascript problem, help?" Watch "Meta tag javascript problem, help?" New topic

Meta tag javascript problem, help?

Dominic Steng�rd
Ranch Hand

Joined: Feb 05, 2001
Posts: 186
Hey guys,

Need help with the following problem:
I need the content attribute in the meta tag below to be set:

But when the html is generated in the client browser it looks just as above, what I want is that it should look like this:

<meta name="" content="12" />

Any help in the right direction would be great.
Thanks in advance.

Best Regards

Dominic Steng�rd<br />Sun Certified Java 2 Programmer
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
When you view the source, it will always look like the code that was sent from the server. You probbaly should do it via serverside code rather than the client.

I agree. Here's the link:
subject: Meta tag javascript problem, help?
It's not a secret anymore!