I'm using Javascript to get the value of the "id" in the DB from the radio buttons as follows
My HTML has the following
This works great but I would like to grab other fields from the database based on the radio button selections. DB fields "introtext", "alias" and "urls" Here is a form view -

Can I do this with Javascript or do I need to have another read action to be able to get these fields?
var a = jQuery("input[name='discount']:checked").val();
document.getElementById("discount_giftcard").innerHTML = a;
var b = jQuery("input[name='portal']:checked").val();
document.getElementById("discount_portal").innerHTML = b;
My HTML has the following
<h4>Discount Gift Cards "id"</h4>
<p id="discount_giftcard"></p>
<h4>Cashback Portal "id"</h4>
<p id="discount_portal"></p>
This works great but I would like to grab other fields from the database based on the radio button selections. DB fields "introtext", "alias" and "urls" Here is a form view -

Can I do this with Javascript or do I need to have another read action to be able to get these fields?