Tue Jan 22, 2013 10:05 pm
<html>
<head>
<title>show and double quots Quotation box using JQuery </title>
<!--
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
Note you can download the JQuery package instead of using Google version. -->
<script src="jquery-1.8.3.js"></script>
<script>
$(document).ready(function(){
//
$("button#b1").click(function(){
// Track clicks on hash links using Google analytics.
$('blockquote').prepend(" <span class='bqstart'>“</span> ");
$('blockquote').append(" <span> </span><span class='bqend'>”</span> ");
});
});
</script>
</head>
<body>
<div>
User content data - some text some text
</div>
<hr>
<blockquote>Quoted "User content data - some text some text"</blockquote>
Second user content.
<br>
<button id="b1">Show Quotation</button>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.