Change value of Plain text
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Hello, Daniel!
Yes, you can! It's very simple actually. Just add CSS class to the element and then select it with JQuery selector in your code:
Yes, you can! It's very simple actually. Just add CSS class to the element and then select it with JQuery selector in your code:
Code: Select all
$(".my-text").text("Foo Bar!");
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests