Javascript examples for jQuery:Tag Edit
Use append() method to insert the text "YES!" at the end of the <p> element
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("p").append("YES!"); });/*from ww w . j ava2s. c o m*/ </script> </head> <body> <p>Is jQuery FUN or what? </p> </body> </html>