On my website, I have a label and a checkbox. The checkbox in question is created by Salesforce (thus the dynamic appearance of the span id).
This excerpt shows the code from my webpage:
<div class="fds" id="checkinput">
<label>Additional Review</label>
<span id="j_id0:asp-acc-details:as-c1">
<img src="/img/checkbox_checked.gif" alt="Not Checked" width="21" height="16" class="checkImg" title="Not Checked">
</span>
</div>
The span
tag and its associated img
are both dynamically generated through Salesforce.
I am wondering if it is possible to use jQuery to make the "checkinput
" div hidden or invisible if the title (or alt) of the img tag reads "Not Checked".
Is this feasible?