Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Nested AJAX call not working in JIRA

Ashish Biswal May 13, 2019
<script type="text/javascript">
#set($D = '$')

AJS.$(document).ready(function(){

AJS.${D}.ajax({}

AJS.${D}.ajax ({
success: function(data){
comment();
}
});
});
function comment(){
AJS.{D}.ajax({
alert("Message");
});
}

<script>

This doesnt execute any of the ajax if the third ajax the last one if implemented 

0 answers

Suggest an answer

Log in or Sign up to answer