parent
7b055d126d
commit
4273212bc1
|
@ -88,7 +88,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// JavaScript to handle the modal and populate values when the button is clicked
|
$(document).ready(function () {
|
||||||
$('#configureModal').on('show.bs.modal', function (event) {
|
$('#configureModal').on('show.bs.modal', function (event) {
|
||||||
var button = $(event.relatedTarget);
|
var button = $(event.relatedTarget);
|
||||||
var macAddress = button.data('id');
|
var macAddress = button.data('id');
|
||||||
|
@ -101,13 +101,11 @@
|
||||||
modal.find('#universe').val(universe);
|
modal.find('#universe').val(universe);
|
||||||
});
|
});
|
||||||
|
|
||||||
// JavaScript to handle form submission
|
|
||||||
$('#configureForm').submit(function (event) {
|
$('#configureForm').submit(function (event) {
|
||||||
// Add your logic here to handle form submission using AJAX or other methods
|
|
||||||
// You can access values with $('#dmxAddress').val() and $('#universe').val()
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$('#configureModal').modal('hide');
|
$('#configureModal').modal('hide');
|
||||||
});
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue