I've been successful in using the following to update a Lookup on a field when working with standalone field(s) on the form that have the css class "DbRefresh" using the following JS and an HTML Button.
$(document).ready(function(){
$(".RefreshBTN").click(function(){
$(".DbRefresh input").attr("vo", "e");
$(".DbRefresh textarea").attr("vo", "e");
$("Field24").trigger('change');
});
});
This does not work thou when the fields to be updated are contained in a table. Can any of you JS Guru's provide an answer on how to target the fields in a table to refresh the DB Lookups when a button is clicked.
Thanks