nrsh_ram Posted February 11, 2009 Share Posted February 11, 2009 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? Link to comment https://forums.phpfreaks.com/topic/144821-create-the-link-to-call-data-in-same-page/ Share on other sites More sharing options...
rhodesa Posted February 11, 2009 Share Posted February 11, 2009 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"; Link to comment https://forums.phpfreaks.com/topic/144821-create-the-link-to-call-data-in-same-page/#findComment-759963 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.