how to hide textarea from javascript?
The simple problem i faced to hide textarea while replacing a textarea with wysiwyg html editor simply because there is no visible property for textarea.
All you have to do is set the style to hidden
document.getElementById(’textareabox’).style.visibility=”hidden”;
Thats it!
Jul 28
Jul 28
If you want to assign value to iframe innerHTML its just easy. All you have to do is just assign the value of the textarea to the iframes innerHTML property. If the value is html source, the iframe will give a rich text look. There may a situation as well if you want to […]
Jul 28
iframe componenet in javascript can provide a rich text editing and a html page can be easily embeeded inside iframe as it is just like frames.
<iframe id="edior" width="300" height="200 style="border:0px solid grey"></iframe>
To remove the border both in IE and firefox you can set the style to 0px.
You can also load the iframe dynamically with javascript
document.write("<iframe […]
Recent Comments