| |
|
Welcome to KnowledgeSutra - Dear Guest | |
How Do You Make Text In A <div> Change When You Click On A Link?
Started by electriic ink, Jul 24 2006 03:11 PM
7 replies to this topic
#8 Guest_danielle_*
Posted 03 May 2011 - 08:50 PM
Is there a way to do this within a DIV rather than a form item? I need to use HTML and have the updated text realise this:
function Web1()
{
var MyElement = document.getElementById("MyTextBox");
MyElement.value = "<h2>header</h2><p>text2</p>";
return true;
}
thanks
function Web1()
{
var MyElement = document.getElementById("MyTextBox");
MyElement.value = "<h2>header</h2><p>text2</p>";
return true;
}
thanks
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














