473,378 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

changing URL without refreshing the page

shoonya
161 100+
can i change the url of any page from abc.php?foo=test1 --> abc.php?foo=test2
without refreshing the page?

shoonya
Jun 1 '07 #1
4 3607
can i change the url of any page from abc.php?foo=test1 --> abc.php?foo=test2
without refreshing the page?

shoonya
Doesn't
Expand|Select|Wrap|Line Numbers
  1. document.location.href = "abc.php?foo=test2"
meet your needs?
Jun 1 '07 #2
acoder
16,027 Expert Mod 8TB
You're probably looking for the search property.
Jun 1 '07 #3
shoonya
161 100+
@ merseyside

i want the same functionality but dont want to refresh the page
suppose a function foo is called then it should change the content of inner frame and also change the url so that refreshing doesn't takes u back to original page

hope i am clear
shoonya
Jun 1 '07 #4
acoder
16,027 Expert Mod 8TB
@ merseyside

i want the same functionality but dont want to refresh the page
suppose a function foo is called then it should change the content of inner frame and also change the url so that refreshing doesn't takes u back to original page

hope i am clear
shoonya
Then what you'll want is Ajax (get the response and change the content) to prevent the refresh as well as the search property to change the url.
Jun 4 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Troy | last post by:
Hello- I have a website that uses a custom built webserver to serve the pages. (Please don't ask me why my boss had his own web server written). I am displaying a log of information that is an...
31
by: Greg Scharlemann | last post by:
Given some recent success on a simple form validation (mainly due to the kind folks in this forum), I've tried to tackle something a bit more difficult. I'm pulling data down from a database and...
2
by: jdi | last post by:
Hello, I have a seemingly basic question about ASP.NET. I would like to create a page containing an image, which keeps swapping the url of the image source, without refreshing the entire page. ...
3
by: elyob | last post by:
Hi, I'm just wondering how I change some css text when I mouseover a picture. At the moment document.write just writes to a new page. function displayname(name) { document.write(name); }
2
by: Ben | last post by:
Hi, One ASP.NET transactional page conducts a long transaction in a button click function. I want to display the transaction progress info in label control without refreshing page. It is...
13
by: honey99 | last post by:
Hi! I have to fix a problem in JSP.Actually,i have a JSP page say Ex1.jsp.In this Ex1.jsp i have an anchor tag which links into another JSP page i.e when i click on the link another pop-up window...
2
by: Z1P2 | last post by:
Hello, Dumb question... I have a web page that uses a couple of iframes, and what I would like to do is have a link on the main page that changes an iframe without refreshing the main page. I know...
3
by: burrashiva | last post by:
:( ::) Hello there, I recently started Web Designing with PHP, Javascript and AJAX. I am facing a problem which I will try to explain: If I am successful in conveying the problem to you...
6
by: mistral | last post by:
Is there way change image (swap) on click on thumbnail without javascript? I.e. main image is big(preview), and below it is two small images - when click on small image, it should change big image....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.