Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

How to change text of button span in Siebel Open UI via jquery

edited November 2018 in Siebel Open UI, Tools, Scripting and EAI (MOSC) 3 commentsAnswered

Hello,

I have an applet that has a button. Depending on the value of the field, I would like it to say one thing or another. For example, it should say either "Respond" or "Edit Response".

I am able to get the value of the field fine. However, in my js file, I am not able to get the text of the button to change.

When I inspect element, it says:

<button type="button" class="siebui-ctrl-btn siebui-icon-editresponse s_1_1_126_0 appletButton" id="s_1_1_126_0_Ctrl" name="s_1_1_126_0" data-display="Edit Response" tabindex="0" title="Request: Main Menu:Edit Response" aria-label="Request: Main Menu:Edit Response" data-seq="0"><span>Edit Response</span></button>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center