OnClick change text
How do I make an onclick change text?
What is a onclick change text? How do you make a onclick change text? This script and codes were developed by Sreekanth Are on 21 November 2022, Monday.
OnClick change text - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>onClick change text</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="row"> <h1 id="change">Click me</h1> </div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
OnClick change text - Script Codes CSS Codes
#change { position: relative;
}
#change.on:after { content: "This is Sreekanth"; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: white; text-decoration: underline;
}
OnClick change text - Script Codes JS Codes
$("#change").on("click", function() { $(this).toggleClass("on");
});
Developer | Sreekanth Are |
Username | srees |
Uploaded | November 21, 2022 |
Rating | 3 |
Size | 2,033 Kb |
Views | 18,216 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Add or Edit modal UI | 2,683 Kb |
Subscribe | 3,321 Kb |
Modal-form | 2,398 Kb |
INS - Template | 2,574 Kb |
Widget builder | 5,600 Kb |
We-Sign-Up | 3,053 Kb |
Step Wizard - Breadcrumbs | 2,840 Kb |
Store Assist - 7eleven login | 2,102 Kb |
VolunteerMark Checkout | 3,096 Kb |
Bootstrap Template | 5,983 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Prototype Responsive Homepage | Heyitsolivia | 7,677 Kb |
CSS Chat Bubbles | Boylett | 2,094 Kb |
Videogular - Overlay Play Plugin | 2fdevs | 2,432 Kb |
Responsive Section hover effect to show content | Berdejitendra | 2,540 Kb |
Fun form with currentColor | Bnthor | 2,713 Kb |
DFF Website | Hawcubite | 10,123 Kb |
A Pen by aleen42 | Aleen42 | 11,473 Kb |
A Pen by Theun | Tjoen | 6,152 Kb |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 Kb |
A Different Type of Gallery | DonPage | 2,950 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!