I have a dropdown that dictates the color pallet. It will either be default or only black. I am trying to reset the color pallet. How can I do this on the javascript side?
I have tried
I get the error of "Object doesn't support this property or method. What is the correct syntax?
I have tried
| function resetInkColor() { |
| var colorPicker = $find('<%= rcpInkColor.ClientID%>'); |
| colorPicker.set_preset="Default"; colorPicker.set_preset("Default"); |
| } |
I get the error of "Object doesn't support this property or method. What is the correct syntax?