How to change label text?

<div class="form-row" id="node-set-threshold1">                
    <label for="node-input-threshold1-label">threshold.</label>
    <input type="text" id="node-input-threshold1" style="width:180px;">
    <input type="hidden" id="node-input-threshold1type" style="width:200px;">
</div>

How to change "node-input-threshold1-label" text "threshold." to other text in the oneditprepare function ?

You could do something like:

$("#node-set-threshold1 label").text("new label");
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.