The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!
Merry Christmas and Happy Holidays! 🎄
[Solved] How to change the value of an element
How-to and Troubleshooting
(@yuri-vasilchenko)
Trusted Member
Joined: 4 years ago
Hi!
I would like to change the value for this element:
Now:
<div class="wpdiscuz-subscribe-form-button"> <input id="wpdiscuz_subscription_button" class="wpd-prim-button" type="submit" value="›" name="wpdiscuz_subscription_button"> </div>
New:
<div class="wpdiscuz-subscribe-form-button"> <input id="wpdiscuz_subscription_button" class="wpd-prim-button" type="submit" value="OK" name="wpdiscuz_subscription_button"> </div>
Please tell me which files need to be changed.
I don’t want to and can’t change using translation, since the current value is also used in other elements of the site.
(@asti)
Illustrious Member
Joined: 8 years ago
You should use the jQuery code like this one:
jQuery(document).ready(function(){
jQuery('#wpdcom .wpdiscuz-subscribe-bar #wpdiscuz_subscription_button').val('ok');
});
This article should be helpful for you: https://www.collectiveray.com/add-javascript-to-wordpress
(@yuri-vasilchenko)
Joined: 4 years ago
Trusted Member
Posts: 52
May 30, 2022 8:25 am
@asti
Yes, it works great. Thank you!