Go to specific <div> data

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
shafiq2626
Forum Commoner
Posts: 88
Joined: Wed Mar 04, 2009 1:54 am
Location: Lahore
Contact:

Go to specific <div> data

Post by shafiq2626 »

Hi!
I have multiple <Div></div> with different data on a page.
i want to go at specific <div></div> by clicking related text link.
like
<span>div one</span>
<span>div two</span>
<span>div three</span>



<div id="d1">ddd ddd</div>
<div id="d2">sssss</div>
<div id="d3">aaaa</div>


please help me that how this matter will solve
thanking you
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Go to specific <div> data

Post by jackpf »

Code: Select all

<a href="#divid">clicky</a>
Post Reply