Assign Multiple Raspberry Pi GPIO to Checkboxes JQuery

Assign Multiple Raspberry Pi GPIO to Checkboxes JQuery

I'm using a hosted web application to control switches from my Raspberry Pi. A tutorial I found online can control one of my switches. My goal is to change the code to control 3 different swtiches. I'm a novice and would like to know the best way to assign the other two Checkboxes. I'm using Bottle Python web framework and JQuery AJAX

Here is the code

<html> $(document).ready(function() { $("#ckLED").change(function() { var isChecked = $("#ckLED").is(":checked") ? 0:1; $.ajax({ url: '/action', type: 'POST', data: { strID:'ckLED', strState:isChecked } }); }); });