<html>
<head>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("<p id=3>Hello world!</p>").insertAfter("#1");
});
});
</script>
</head>
<body>
<button>Insert span element after each p element</button>
<p id="1">This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Showing posts with label add segment. Show all posts
Showing posts with label add segment. Show all posts
Thursday, 25 September 2014
Subscribe to:
Posts (Atom)
Feet/Inches to Meters Converter & Lbs to Kgs Converter
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...
-
<?php $to = "somebody@example.com, somebodyelse@example.com"; $subject = "HTML email"; $message = " <h...
-
ISAIMINI.COM Download
-
document.onkeydown = myKeyDownHandler; function myKeyDownHandler(event){ alert(event.keyCode) }