Button Text with JavaScript?
Posted: 20 Aug 2018
Hi,
i am using some "Button" from Control-List. There is a Property called "Text" to set the displayed Button-Text.
How can i modify this in a Displayform with Javascript?
The button gots a css-class called "btn_one"
this is what i tried already:
Some ideas? thanks in advanced
i am using some "Button" from Control-List. There is a Property called "Text" to set the displayed Button-Text.
How can i modify this in a Displayform with Javascript?
The button gots a css-class called "btn_one"
this is what i tried already:
Code: Select all
$(".btn_one").text("hello world"); //nothing happened
$(".btn_one").control()._el().text("hello world"); //error
$(".btn_one").value("hello world"); //error
$(".btn_one").html("hello world"); //nothing happened
$(".btn_one").hide(); //works for example, to hide the button