...

View Full Version : Inner HTML?



lordofthesword8
07-08-2004, 02:02 PM
Whats this?

Ive heard on the forum a few times, but ive never encountered it before.

What is it and what does it do?

LOTS8

jbot
07-08-2004, 02:08 PM
check it out for yourself at MSDN (http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp?frame=true)

JPM
07-08-2004, 02:08 PM
You should just search google

Vincent Puglia
07-08-2004, 02:12 PM
<form name='theForm'>
<input type='checkbox' onclick="document.getElementById('theDiv').innerHTML= (this.checked) ? 'box is checked' : 'box is not checked';"
</form>
<div id='theDiv'></div>



It allows you to alter things on the fly

Vinny



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum