PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a drop down list from which i will choose an option, the respective values should be filled in fckeditor. I tried to use ajax to retrive the value, but i do not know how to pass it to fckeditor.
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{
alert(xmlHttp.responseText);// got struct here. How to pass this value to $newsletter
// document.getElementsByName('news').value=xmlHttp.responseText
}
No. When i change the values, onChange event, i am sending the value to a javascript function (ajax), i retrive the contents of the text editor from database and send those values to fckeditor.
shivam0101 wrote:No. When i change the values, onChange event, i am sending the value to a javascript function (ajax), i retrive the contents of the text editor from database and send those values to fckeditor.
Then what seems to be the problem...? Are you not familiar with AJAX?
No. When i change the values, onChange event, i am sending the value to a javascript function (ajax), i retrive the contents of the text editor from database and send those values to fckeditor
.
i should have told,
No. When i change the values, onChange event, i am sending the value to a javascript function (ajax), i retrive the contents of the text editor from database. But, I am not able to assign those values to fckeditor.
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{
alert(xmlHttp.responseText);// got struct here. How to pass this value to $newsletter
// document.getElementsByName('news').value=xmlHttp.responseText
}