Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

How can I use JavaScript to set the value of the DevEdit control?

There's quite a few ways to do this, but here's the easiest. Simply use some JavaScript to set the content of DevEdit when a button is clicked:

<input type="button" onClick="addContent()" value="Add Content">

<script>

function addContent()
{
  document.frames[0].frames[0].document.write('<b>test</b>');
  document.frames[0].frames[0].document.close();
}

</script>

Of course, you will need to adapt this code for your own use, but it does show the general way to write to the DevEdit component via JavaScript.


Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software