Is there any way to execute Javascript in an optional block of Jelly?
Use Case: I want to update another section on the page each time there is a toggle on the checkbox.
Is there any way to execute Javascript in an optional block of Jelly?
Use Case: I want to update another section on the page each time there is a toggle on the checkbox.
Yes, you can execute javascript in Jelly script, you need to call javascript from
<script>
tag, e.gyou need to fetch id of the section and refresh it on js event or simply use jelly core tags
<j:core>
with html basic input tagsFor refreshing option block or any other section you may need to do something,
Also for advanced execution, you can check
<j:choose>
,<j:when>
like tags and bind that with your backend code and refresh dynamically.It is better to check some advance GitHub code :) https://github.com/jenkinsci...