Solved

change url display in javascript

Posted on 2011-03-01
3
599 Views
Last Modified: 2012-05-11
I'm wondering if it's possible to change the url displayed without redirecting the browser. I have this page like:

product-scores.php?status=doc&prod_id=23

On a Javascript onchange of a select option list I want to not display the prod_id, so I want the url to display only:
product-scores.php?status=doc

Thanks,
Victor
0
Comment
Question by:Victor Kimura
3 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 250 total points
ID: 35009747
0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
ID: 35009982
0
 

Author Closing Comment

by:Victor Kimura
ID: 35015097
Thanks, fellas. =)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now