473,473 Members | 2,144 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Changing the address bar without loading a page

Another n00b question, is it possible with JavaScript to manipulate the
address bar without reloading a page? i.e. can I add something like
"?pageId=1234" at the end of the address bar text without actually changing
the page that is currently loaded? Can you provide some example code?

--
And loving it,

-Q
_________________________________________________
Qu**********@gmail.com
(Replace the "SixFour" with numbers to email me)

Dec 31 '07 #1
16 1928
Lee
Qu0ll said:
>
Another n00b question, is it possible with JavaScript to manipulate the
address bar without reloading a page?
Nope.
--

Dec 31 '07 #2
Qu0ll wrote:
Another n00b question, is it possible with JavaScript to manipulate the
address bar without reloading a page?
No, and if you had cared to read *anything* before you posted, you would
have known. Please make it your New Year's resolution to do so.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Jan 1 '08 #3
"Thomas 'PointedEars' Lahn" <Po*********@web.dewrote in message
news:47************@PointedEars.de...
Qu0ll wrote:
>Another n00b question, is it possible with JavaScript to manipulate the
address bar without reloading a page?

No, and if you had cared to read *anything* before you posted, you would
have known. Please make it your New Year's resolution to do so.
Thanks. Please make it your New Year's resolution to not be so grumpy.

--
And loving it,

-Q
_________________________________________________
Qu**********@gmail.com
(Replace the "SixFour" with numbers to email me)

Jan 1 '08 #4
Qu0ll wrote:
"Thomas 'PointedEars' Lahn":
>Qu0ll wrote:
>>Another n00b question, is it possible with JavaScript to manipulate the
address bar without reloading a page?
No, and if you had cared to read *anything* before you posted, you would
have known. Please make it your New Year's resolution to do so.

Thanks. Please make it your New Year's resolution to not be so grumpy.
It is easy to become grumpy after having to endure the same idiotic behavior
again and again last year, and then see it continue in the next. I lost
count long ago, and I don't mean newbies asking questions in general.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Jan 1 '08 #5
"Thomas 'PointedEars' Lahn" <Po*********@web.dewrote in message
news:47**********@PointedEars.de...
Qu0ll wrote:
>"Thomas 'PointedEars' Lahn":
>>Qu0ll wrote:
Another n00b question, is it possible with JavaScript to manipulate the
address bar without reloading a page?
No, and if you had cared to read *anything* before you posted, you would
have known. Please make it your New Year's resolution to do so.

Thanks. Please make it your New Year's resolution to not be so grumpy.

It is easy to become grumpy after having to endure the same idiotic
behavior
again and again last year, and then see it continue in the next. I lost
count long ago, and I don't mean newbies asking questions in general.
What was so "idiotic" about my behaviour?

--
And loving it,

-Q
_________________________________________________
Qu**********@gmail.com
(Replace the "SixFour" with numbers to email me)

Jan 1 '08 #6
On Jan 1, 8:30 am, "Qu0ll" <Qu0llSixF...@gmail.comwrote:
"Thomas 'PointedEars' Lahn" <PointedE...@web.dewrote in messagenews:47**************@PointedEars.de...
What was so "idiotic" about my behaviour?
http://www.catb.org/~esr/faqs/smart-questions.html
See alsohttp://jibbering.com/faq/pp., andhttp://insideoe.com/to
fix/work
around the flaws of your newsreader.

There was really no need for you to chime in with your useless rants. The
question had been answered and I was happy. Perhaps you've just had a bad
day or are going through a difficult time. Either way, apology accepted.
Seriously? This is usenet. Thomas wasn't being "grumpy" or offensive
by usenet standards. If you want to see grumpy go to comp.lang.c. Grow
a thick skin or you wouldn't survive usenet.
Jan 1 '08 #7
Qu0ll <Qu**********@gmail.comwrote:

So, there's a forged sender address, too.
"Thomas 'PointedEars' Lahn" [...]:
>>What was so "idiotic" about my behaviour?
http://www.catb.org/~esr/faqs/smart-questions.html

See also http://jibbering.com/faq/ pp., and http://insideoe.com/ to
fix/work around the flaws of your newsreader.

[...] Perhaps I could have found the answer if I had done a
little more digging [...]

There was really no need for you to chime in with your useless rants. The
question had been answered and I was happy. Perhaps you've just had a bad
day or are going through a difficult time. Either way, apology accepted.
^^^^^^^
You must be kidding.

* * * * * * * * * * * * * * * * *
* *
* G A M E O V E R *
* *
* Thank you for playing Usenet. *
* *
* * * * * * * * * * * * * * * * *
PointedEars
Jan 1 '08 #8
"slebetman" <sl*******@gmail.comwrote in message
news:32**********************************@u10g2000 prn.googlegroups.com...
Seriously? This is usenet. Thomas wasn't being "grumpy" or offensive
by usenet standards. If you want to see grumpy go to comp.lang.c. Grow
a thick skin or you wouldn't survive usenet.
My skin is plenty thick enough and no offense was taken. But I still would
like to know why my post was "idiotic" so I will never ever be so stupid
again.

--
And loving it,

-Q
_________________________________________________
Qu**********@gmail.com
(Replace the "SixFour" with numbers to email me)

Jan 1 '08 #9
"Thomas 'PointedEars' Lahn" <Po*********@web.dewrote in message
news:47************@PointedEars.de...
Qu0ll <Qu**********@gmail.comwrote:

So, there's a forged sender address, too.
Does the word "munge" mean anything to you oh Pointy One?

--
And loving it,

-Q
_________________________________________________
Qu**********@gmail.com
(Replace the "SixFour" with numbers to email me)

Jan 1 '08 #10
Thomas 'PointedEars' Lahn said the following on 1/1/2008 8:11 AM:
Qu0ll <Qu**********@gmail.comwrote:

So, there's a forged sender address, too.
How many times will it have to be explained to you what a "forged"
address is, and is not, before you finally realize what one really is?
And, that the address used is not "forged"?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 1 '08 #11
On Wed, 02 Jan 2008 00:23:35 +1100, Qu0ll wrote:
My skin is plenty thick enough and no offense was taken. But I still would
like to know why my post was "idiotic" so I will never ever be so stupid
again.
The biggest thing you've done to upset some of the regulars is ask a
fairly common question. While the question is new to you, most of the
folks here have seen (and answered) it a dozen types or more.

Thanks to DejaVu (now owned by Google groups and reachable at
groups.google.com) UseNet is archived and easily searched.

<URL:
http://groups.google.com/groups/sear...=Search+Groups >

The first page has someone asking pretty much that very questions over in
microsoft.public.scripting.jscript

The second thing you've done is ask how to do something that, even if it
WERE possible, is not a good idea. Don't muck with them. Don't try to
add weird hashes onto the end of it to save state. Don't break navigation.

Dynamic HTML (and AJAX) already breaks the traditional web to an extent.
It is hard to bookmark and to email a URL to someone else. In those
instances I'm a fan of '[Create email link]' and '[bookmark this]' links
but I'm *sure* I'll have someone jumping in with all sorts of problems
with that idea. I'll say ahead of time: They are right. I don't think
there is a nice way to do what you are trying to do.

Jan 1 '08 #12
Jeremy J Starcher said the following on 1/1/2008 11:55 AM:
On Wed, 02 Jan 2008 00:23:35 +1100, Qu0ll wrote:
>My skin is plenty thick enough and no offense was taken. But I still would
like to know why my post was "idiotic" so I will never ever be so stupid
again.

The biggest thing you've done to upset some of the regulars is ask a
fairly common question. While the question is new to you, most of the
folks here have seen (and answered) it a dozen types or more.
While I agree that it is a common question (even one answered in the
group FAQ), it doesn't take near that much to excite Thomas into an
annoying diatribe.
Thanks to DejaVu (now owned by Google groups and reachable at
groups.google.com) UseNet is archived and easily searched.

<URL:
http://groups.google.com/groups/sear...=Search+Groups >

The first page has someone asking pretty much that very questions over in
microsoft.public.scripting.jscript
Reading the group FAQ, specifically <URL:
http://jibbering.com/faq/index.html#FAQ4_32would have given the answer
also. Even though the last sentence should be removed.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 1 '08 #13
"Jeremy J Starcher" <r3***@yahoo.spam.me.not.comwrote in message
news:pa****************************@yahoo.spam.me. not.com...
The biggest thing you've done to upset some of the regulars is ask a
fairly common question. While the question is new to you, most of the
folks here have seen (and answered) it a dozen types or more.

Thanks to DejaVu (now owned by Google groups and reachable at
groups.google.com) UseNet is archived and easily searched.

<URL:
http://groups.google.com/groups/sear...=Search+Groups >

The first page has someone asking pretty much that very questions over in
microsoft.public.scripting.jscript
OK, point taken. I still think "idiotic" is a bit over the top though :-)
The second thing you've done is ask how to do something that, even if it
WERE possible, is not a good idea. Don't muck with them. Don't try to
add weird hashes onto the end of it to save state. Don't break
navigation.

Dynamic HTML (and AJAX) already breaks the traditional web to an extent.
It is hard to bookmark and to email a URL to someone else. In those
instances I'm a fan of '[Create email link]' and '[bookmark this]' links
but I'm *sure* I'll have someone jumping in with all sorts of problems
with that idea. I'll say ahead of time: They are right. I don't think
there is a nice way to do what you are trying to do.
Point taken again. As I said, I am completely new to the nuances of
JavaScript-ing. Thanks for the info.

--
And loving it,

-Q
_________________________________________________
Qu**********@gmail.com
(Replace the "SixFour" with numbers to email me)

Jan 1 '08 #14
In comp.lang.javascript message <ro*********************@giganews.com>,
Tue, 1 Jan 2008 12:14:26, Randy Webb <Hi************@aol.composted:
>
Reading the group FAQ, specifically <URL: http://jibbering.com/faq/inde
x.html#FAQ4_32would have given the answer also. Even though the last
sentence should be removed.
Then remove it.

--
(c) John Stockton, Surrey, UK. replyYYWW merlyn demon co uk Turnpike 6.05.
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html-Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demon.co.uk/news-use.htm: about usage of News.
No Encoding. Quotes precede replies. Snip well. Write clearly. Mail no News.
Jan 1 '08 #15
In comp.lang.javascript message <477a3fa4$0$25477$5a62ac22@per-
qv1-newsreader-01.iinet.net.au>, Wed, 2 Jan 2008 00:27:00, Qu0ll
<Qu**********@gmail.composted:
>"Thomas 'PointedEars' Lahn" <Po*********@web.dewrote in message
news:47************@PointedEars.de...
>Qu0ll <Qu**********@gmail.comwrote:

So, there's a forged sender address, too.

Does the word "munge" mean anything to you oh Pointy One?
Please do not tease the socially undeveloped.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)
Jan 1 '08 #16
Dr J R Stockton said the following on 1/1/2008 5:21 PM:
In comp.lang.javascript message <ro*********************@giganews.com>,
Tue, 1 Jan 2008 12:14:26, Randy Webb <Hi************@aol.composted:
>Reading the group FAQ, specifically <URL: http://jibbering.com/faq/inde
x.html#FAQ4_32would have given the answer also. Even though the last
sentence should be removed.

Then remove it.
Done locally.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 2 '08 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ecPunk | last post by:
Hi, We have a web application where we want a user to be able to change his/her password if the password has expired but we are unable to do this with ASP (at the moment) because we can't log...
7
by: Frostillicus | last post by:
Hi, I've written some javascript to randomly choose a classical music composer's picture and sample audio and display it on my home page (http://marc.fearby.com/), and this works fine in Mozilla...
24
by: Charles Crume | last post by:
Hello; My "index.htm" page has 3 frames (content, navigation bar, and logo). I set the "SRC" of the "logo" frame to a blank gif image and then want to change it's contents after the other two...
5
by: Jim Marquardson | last post by:
Hi, I've struggled with this for a while now, so I'm asking for help. I am trying to click on a link in one page, have that link open up in a new window, and set that newly opened window's...
4
by: Good Man | last post by:
Hi there I have a database with about 20 or so tables, maybe a few thousand rows in each. I am starting to do more complex things with my insertions etc, and I want to start to use...
54
by: VK | last post by:
Mission statement: A mechanics to get text stream into browser from any Web location without reloading the current page. 1) This mechanics has to support *at the very least* IE 5.5 and higher...
4
by: dkode | last post by:
Hello, The webhost that I have my asp.net website with does not allow me to change the ISAPI handler for IIS, I am wondering if there is a way to accomplish this without modifying the ISAPI...
1
by: lister | last post by:
Hi all, Just wondering whether there was any standard way of serving up a new page to the browser when the user has submitted the current page. Currently I: 1) Process any user submitted data...
6
by: Martin Slater | last post by:
Hi all, I'm using a webbrowser control within an application for the UI and want to hide the flicker and redraw when changing pages. Ideally I want to render the new page to a seperate...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.