sir pannels
12-26-2006, 05:54 PM
hi all,
Im trying to set the text inside a span when i click a button ..
the span is
<spand id=sText></span>
and the button just triggers onclick call to 'building' as below...
function building() {
sText.value="test info";
}
but nothing happens when I click...
have I missed something? ny pointers be very much apperciated.
cheers very much
Sir P
Im trying to set the text inside a span when i click a button ..
the span is
<spand id=sText></span>
and the button just triggers onclick call to 'building' as below...
function building() {
sText.value="test info";
}
but nothing happens when I click...
have I missed something? ny pointers be very much apperciated.
cheers very much
Sir P