4 <div id="brapi_home_study_detail_div">
7 <input name="brapi_home_studydbid" id="brapi_home_studydbid" class="form-control" type="text" placeholder="StudyDbId e.g. 137" value="137"/>
8 <button class="btn btn-primary" name="brapi_home_studydbid_submit" id="brapi_home_studydbid_submit">Get Details</button>
10 <div id="brapi_studies_detail_result_div">
17 jQuery(document).ready(function() {
18 jQuery("#brapi_home_studydbid_submit").click(function() {
20 'url': jQuery('#brapi_home_url_select').val()+'/brapi/v1/studies/'+jQuery('#brapi_home_studydbid').val(),
22 'success': function(response) {
23 console.log(response);
24 brapi_create_table(response.result, 'brapi_studies_detail_result_div', undefined);
27 error: function(response) {
28 alert('An error occurred');