You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
440 B

$(function() {
$("#method-down").change(function() {
var method = this.value;
$("#body-down-group").toggle(method != "GET");
});
$("#method-up").change(function() {
var method = this.value;
$("#body-up-group").toggle(method != "GET");
});
// On page load, check if we need to show "request body" fields
$("#method-down").trigger("change");
$("#method-up").trigger("change");
});