Click here to Skip to main content
15,915,160 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to assign value to cute editor using JavaScript.
I tried hard but, haven't got success.

<br />
document.getElementById(ctl00_ContentPlaceHolder1_txtPara).setAttribute(innerHTML,sArray[1]);<br />


Where
sArray[1] is targated value
txtPara is id of cute editor with masterpage.


It gave this error

Unable to evalute the expression.

Anyone can help.......
Posted
Updated 30-Jul-10 3:31am
v3

1 solution

 
Share this answer
 
Comments
Sutotpal Shrivastava 30-Jul-10 9:59am    
Reason for my vote of 4
Hi :) ,
Thank's "makhaai" for your help.


This link was very usefull for me .
raju melveetilpurayil 30-Jul-10 13:03pm    
if my answer help you mark my answer as "Answer"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900