Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
jQuery Set Div Elements Text Example
Keywords : jQuery add text to div elements in page with examples, jQuery change div text on page load with examples
Example
<html> <head> <title>jQuery Syntax Example</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("div").text("Welcome to Tutlane"); }); </script> </head> <body> <div>Test</div> </body> </html>
Click Here to See Result
Result
Previous
Next