How To Set a Value to <p> Tag????????

Posted by Sabarimahesh under JavaScript on 3/26/2012 | Points: 10 | Views : 4512 | Status : [Member] | Replies : 3
When i'm Clicking the button ...

How to Set a value to <P>


IN JQuery

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M



Responses

Posted by: Mani5155 on: 4/10/2012 [Member] Starter | Points: 25

Up
0
Down
i thing you are asking adding content inside <p id="P_Tag_id"></p> tag if it correct try the following jquery statement
<script type="text/Javascript">
function A(){
var obj="My String Value";
$("P_Tag_id").append(obj);
}</script>



Top Forums Authors
Mon, 24-Jul-2017 Authors
All Time Authors
Jayakumars
6020
Karthikanbarasan
3455
Oswaldlily
3300

Latest members | More ...


(Statistics delayed by 5 minutes)
Advertisements