I have written a code for full description field. I want some text to appear in blue color however its not working. please help
<script type="text/javascript">
if (AJS.$("#customfield_10502").val() == '')
AJS.$("#customfield_10502").val("{color:blue}This line will appear in blue color{color}")
</script>
Community moderators have prevented the ability to post new answers.
Can you check that the field is using wiki markup renderer? Also, the color will appear only in the preview section and on the view screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.