In JIRA 5.1.6,
I'm trying to hide a customfield by a JAVASCRIPT (in description field)
this is my code :
<script language="JavaScript"> jQuery('#customfield_10056').parent().hide(); </script>
but no success ...
Regards,
Sven.
Did you make sure this code will be executed after the content has been loaded in the page ?I recommend running this witing
It should be within "$(document).ready", so should be like this:
AJS.$(document).ready(function() { AJS.$('#customfield_10056').parent().hide(); });
Cheers,
Omar
Try it with:
AJS.$('#customfield_10056').parent().hide();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is maybe related to the nature of this field ? It is a free Text Field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim,
Thanks for your help.
I'm still having the issue.
I don't if it's coming from my version.
Thanks,
Sven.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.