Jump to content

create the link to call data in same page?


nrsh_ram

Recommended Posts

hi to all,

i want create the link to call page in same page

example:

in tat page i have personal details,results,family details...so i want put a link when i click on "personal details" it will show the personal details, when i click "results" it will show the result...

 

how to create this link?

anchors....so in the different sections, put this:

<a name="section_name"></a>

where section_name is the name of the section (must be unique)

then on your page, if you have links, you just do:

<a href="#section_name">Section Name</a>

or with JavaScript...since you posted this in the JS forum:

window.location.href="#section_name";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.