I need to show an alert if my field is hidden in quick create screen pop up

Nitram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2012

I like to do the following ,

if(AJS.$("#customfield_10000").hide()==true){
			alert("hi");
		}

But this is not happening, Can u tell me how to check and show an alert.Thanks for the help in advance.

1 answer

1 accepted

1 vote
Answer accepted
grundic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2012
if( AJS.$('#customfield_10000').is(':hidden') ){
  //JIRA.Messages.showWarningMsg("Hidden!");
  alert("Hidden!"); 
}

Nitram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2012

Thanks For the code.

Nitram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2012

Thank you very much chernyshev

Suggest an answer

Log in or Sign up to answer