Hi,
I am insering html from a drop downlist to RadEditor.Here dropdown 's selecte item value is going add to the editor.
When paste html the cursor remains at starting position of the string i have pasted, but actually the cursor should appear at the end of the
string.
This is working fine in IE not in any other browser.
Any soution to move cursor at the end of string pasted?
observe the image i have attached ,where the cursor displaying at the starting position of pasted string.
Here is my code,
I am insering html from a drop downlist to RadEditor.Here dropdown 's selecte item value is going add to the editor.
When paste html the cursor remains at starting position of the string i have pasted, but actually the cursor should appear at the end of the
string.
This is working fine in IE not in any other browser.
Any soution to move cursor at the end of string pasted?
observe the image i have attached ,where the cursor displaying at the starting position of pasted string.
Here is my code,
function getSelectedItemValue(combobox, args)
{
var value = combobox.get_value();
var editor = $find("<%=RadEditor1.ClientID%>");
editor.pasteHtml(value);
}