yandoo Posted December 4, 2012 Share Posted December 4, 2012 Hiya, Hi there I was hoping for a little guidance if possible.. On my website I have a small area that shows "Most Popular" and underneath I have 4 hyperlinks: Blogs, Tips, News, Videos. i want it so that if the user clicks the hyperlink it prints the appropriate content below. the actual content would rarely need to be updated so can be hard coded. I'm new to jquery so if someone could help me that would be super. Thank You Quote Link to comment https://forums.phpfreaks.com/topic/271597-jquery-to-print-content-on-hyperlink/ Share on other sites More sharing options...
Pikachu2000 Posted December 4, 2012 Share Posted December 4, 2012 Contrary to what you were told in the other thread, I would not use this approach for something this simple*, that remains essentially static. There's no reason you can't do this with php. *unless your goal is to do it without a page refresh. Quote Link to comment https://forums.phpfreaks.com/topic/271597-jquery-to-print-content-on-hyperlink/#findComment-1397504 Share on other sites More sharing options...
yandoo Posted December 4, 2012 Author Share Posted December 4, 2012 Thank you fo your reply, I think i'd like to do it witgh a jquery after all as the page wont reload each time. i've bloomin done it too with help of this tutorial (incase any other newbies out there wanting to acheive similar results). http://travisdazell.hubpages.com/hub/javascript-examples Big thanks to you all, this forum has helped me learn so much over the years! Quote Link to comment https://forums.phpfreaks.com/topic/271597-jquery-to-print-content-on-hyperlink/#findComment-1397508 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.