|
Rank: Advanced Member Groups: Member
Joined: 6/9/2007 Posts: 98
|
Hi, I have add a colorpicker object to a custom table insert dialog in htmleditor. to use the targetcontrol property form the colorpicker object, i must have an asp:textbox. But the table editor dialog doest that support. So i want use this javascript in the ClientSideOnChange Property
Code: JavaScript
document.getElementById('eo_editor_table_bordercolor').value = oe_GetObject('colorPicker_BorderColor').getValue()
The script doesnt raise an exception but i doesnt work. have you an idee? I have tested also with the javascript alert('xxx') command but it also doesnt work Thanks Philipp
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi,
You may want to try the code out without the editor first as feature itself should not have anything to do with the editor. Just use a ColorPicker and a TextBox control and then use ClientSideOnChange to update the textbox. If the problem persists, please paste your test code and we will take a look as soon as possible.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/9/2007 Posts: 98
|
I have tested with a blank page. The control works fine and i have found the bug in my page by loading the editor control.
thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Excellent. Please feel free to let us know if you have any more questions.
|
|