The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] How to change the value of an element
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
(@yuri-vasilchenko)
Posts: 52
Trusted Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
[#4227]
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.
Posted : 29/05/2022 4:42 pm
(@asti)
Posts: 8257
Illustrious Member Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
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
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Posted : 30/05/2022 11:51 am
(@yuri-vasilchenko)
Posts: 52
Trusted Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@asti
Yes, it works great. Thank you!
Posted : 30/05/2022 12:25 pm
Super Globals
Options and Features