View Full Version : Help need on Helpgrid and innerhtml

11-30-2012, 05:58 PM
Hi how can we display this text(This will change the status of the records)
in bold color and large font in the following tag

<helpgrid id="changestatus_help" innerhtml="This will change the status of the records." />

any help................

11-30-2012, 07:52 PM
innnerhtml is not an HTML attribute.

It iisn't a part of JavaScript either although JavaScript has something with a simiilar name - innerHTML.

<helpgrid id="changestatus_help"/>
<script type="text/javascript">
document.getElementById('changestatus_help').innerHTML = 'This will change the status of the records.';

Also if you are really using XHTML 1 or XHTML 5 as the self closing tag indicates then you can substitute type="application/javascript" for the obsolete but still needed for IE8 and earlier type="text/javascript" since IE8 and earlier don't support either the correct type for JavaScript or XHTML but all browsers that do support XHTML also support the correct type for JavaScript.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum