Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-06-2008, 08:17 PM   PM User | #1
marconi2008
New to the CF scene

 
Join Date: Aug 2008
Location: Toronto
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
marconi2008 is an unknown quantity at this point
redirect url onclick on the same page

Hi folks,

Does anyone know of a code that I can click on a link i.e.: index.php (home) and what it will do is to refresh the main content without leaving the page to a sub-category i.e.: index.php/music?

I have the basic link redirects like so:

<a href="index.php">Music Home</a><br>
<a href="?sc=52473">Accessories</a><br>

But the links are over 30 in number and I wanted to simplify by just clinking on the (home) link and the page will reffresh to the a new sub-category on the main page...

I don't know if this is clear but I would appreciate any help.

Thanks in advance

Marco
marconi2008 is offline   Reply With Quote
Old 08-06-2008, 08:44 PM   PM User | #2
binaryWeapon
Regular Coder

 
Join Date: Sep 2007
Location: AZ, USA
Posts: 685
Thanks: 6
Thanked 46 Times in 46 Posts
binaryWeapon is on a distinguished road
location.reload(true)
binaryWeapon is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:41 AM.


Advertisement
Log in to turn off these ads.