my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Meta tag javascript problem, help?" Watch "Meta tag javascript problem, help?" New topic
Author

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="DCSext.page.product" 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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Meta tag javascript problem, help?
 
Similar Threads
JSP and Java wait help
playing audio files
struts action class
Powerpoint Presentation In An IFRAME
Enter Key event working fine in IE but not FireFox.