Results 1 to 1 of 1
May 1, 2009, 06:20 #1
- Join Date
- May 2009
- 0 Post(s)
- 0 Thread(s)
This issue is also related with Joomla, so I apologize in advance if this is not the correct place to ask.
This is the code I try to put as a link in the menu. I´ve a div in the content with id="greeting" and contains the text "hi". I want this "hi" to change to "hello" when clicking on the menu link..
<a href="#" onclick="Document.getElementById('greeting').innerHTML = 'hello';return false;">Change the greetings</a>