Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2004, 01:57 AM
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to change the value of content of meta object

Dear Reader

I am facing a critical problem. The probelm is:

How to change dynamically the value of content of meta object?
the value must be changed when the active document of html being loaded.

Example:

change the value of content as given below
<META NAME="keywords" CONTENT="dynamically changing its value through DHTML"/>

Please help me. I will be very thankful to you for this kindness.


 
Old August 11th, 2004, 10:02 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Cross-post with: http://p2p.wrox.com/topic.asp?TOPIC_ID=17388
Post replies there. Please DO NOT cross-post!

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old August 12th, 2004, 04:40 AM
Authorized User
 
Join Date: Apr 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have replied to the other post. But the example is strange. The META keyword is for robots and they will not run any server side script and will not see your dynamically generated keywords. Or do you need to hide your keywords from competition. They can just check the javascript code and read them there. Not to mention that META keywords are ignored by Google.



webdesign





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change content of setup.exe bijgupt Other Programming Languages 1 July 22nd, 2008 06:24 AM
Title , Meta Keyword , Meta Description dynamic shaileshk ASP.NET 1.x and 2.0 Application Design 8 August 21st, 2007 01:10 AM
change content of textarea from select darkhalf Javascript 1 April 26th, 2007 06:03 AM
How to change the value of CONTENT of META object Abdul Hameed Javascript 1 August 11th, 2004 10:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.