getElementsByTagName in javascript


<html>
<head>
<title>getElementsByTagName Javascript</title>
<script>
function getElementFtn()
{
 alert(document.getElementsByTagName("p").item(0).innerHTML)
}
</script>
</head>

<body>
<p>this is first tag</p>

<p>this is second</p>

<p id="pID">this is third tag</p>

<p>this is forth tag</p>

<p>this is fifth tag</p>

<a href="javascript:getElementFtn()">check this element</a>
</body>
</html>

23 comments:

sathya shri said...
This comment has been removed by the author.
Unknown said...

This is beyond doubt a blog significant to follow. You’ve dig up a great deal to say about this topic, and so much awareness. I believe that you recognize how to construct people pay attention to what you have to pronounce, particularly with a concern that’s so vital. I am pleased to suggest this blog.
Data Science training in rajaji nagar | Data Science with Python training in chenni
Data Science training in electronic city | Data Science training in USA
Data science training in pune | Data science training in kalyan nagar

Unknown said...

Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.
online Python certification course | python training in OMR | python training course in chennai

SANDY said...

Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.


Amazon Web Services Training in Velachery, Chennai |AWS Training in Velachery , Besant Technologies

Amazon Web Services Training in Chennai | AWS Training in Chennai

Amazon Web Services Training in Chennai |Best AWS Training in Chennai

Amazon Web Services Training in Chennai | AWS Training in OMR,Chennai


Amazon Web Services Training in Tambaram, Chennai|Best AWS Training in Tambaram, Chennai

Ram Ramky said...

Great blog, keep posting and update more information.

Selenium Training in Chennai
Selenium Course in Chennai
iOS Course in Chennai
Digital Marketing Training in Chennai
J2EE Training in Chennai
DOT NET Course in Chennai
DOT NET Training Institute in Chennai
Big Data Training in Chennai

nisha said...

The Blog is really very impressive. every concept of this blog is explained content is neatly.

Data Science Training Course In Chennai | Data Science Training Course In Anna Nagar | Data Science Training Course In OMR | Data Science Training Course In Porur | Data Science Training Course In Tambaram | Data Science Training Course In Velachery

saran said...

"Good Posting. Extra-ordinary way to narrate the concepts. Thanks for sharing..
Digital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery

"

lavanya said...


This is an awesome post.Really very informative and creative contents. These concept is a nice way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.


Java training in Chennai

Java training in Bangalore

Java training in Hyderabad

Java Training in Coimbatore

Java Online Training

You have provided kind information for a new blogger so it has bowed down to be really helpful. I agree with many of your relevant points that you have included in this article.

SAP training in Kolkata
SAP course in kolkata

This is surely a thought provoking article. I would like to thank you for getting my neurons striking with this dazzling piece of article that you have written which contains every possible points which needs to well thought-out on the given topic.
SAP training in Mumbai
SAP course in Mumbai

Anonymous said...

mmorpg oyunlar
instagram takipçi satın al
tiktok jeton hilesi
Tiktok Jeton Hilesi
Sac ekim antalya
Referans kimliği nedir
İNSTAGRAM TAKİPÇİ SATIN AL
Mt2 pvp serverler
ınstagram takipci satin al

vbet said...

Good content. You write beautiful things.
vbet
mrbahis
hacklink
sportsbet
sportsbet
hacklink
korsan taksi
mrbahis
taksi

betpark said...

Success Write content success. Thanks.
betturkey
kralbet
betmatik
deneme bonusu
kıbrıs bahis siteleri
canlı poker siteleri
canlı slot siteleri

kamil said...

betmatik
kralbet
betpark
mobil ödeme bahis
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
0MJE

Lale said...

yurtdışı kargo
resimli magnet
instagram takipçi satın al
yurtdışı kargo
sms onay
dijital kartvizit
dijital kartvizit
https://nobetci-eczane.org/
2OU

kemal said...

niğde
urfa
artvin
bitlis
ısparta

QKFZK

mehmet said...

silivri çatı ustası
fal baktır
indirmeden oynanan oyunlar
ünye veteriner
https://yoltransfer.com.tr/
2E5

nehir said...

https://saglamproxy.com
metin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
Gİ2MFL

Anonymous said...

مكافحة حشرات AtlKuAbvon

Anonymous said...

شركه مكافحه حشرات بالاحساء zTjHl05YOh

Anonymous said...

نفخ المجاري بالاحساء bzW5ziFwqe

Anonymous said...

شركة تنظيف بيوت بجازان rOE2WtF889

Anonymous said...

نفخ المجاري بالاحساء UowhERS1O5

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|