473,545 Members | 2,755 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Finding Document URL

How can I findouf the URL that the webpage came from? Thanks.

Like document.addres s or something?
Jul 23 '05 #1
2 1124
wl
"Hello" <no*****@sorry. com> wrote in message
news:h%******** ********@newsre ad2.news.pas.ea rthlink.net...
How can I findouf the URL that the webpage came from? Thanks.

Like document.addres s or something?


I think you mean document.referr er ?

Wim
Jul 23 '05 #2
On 01/05/2005 09:43, wl wrote:
"Hello" <no*****@sorry. com> wrote in message
news:h%******** ********@newsre ad2.news.pas.ea rthlink.net...
How can I findouf the URL that the webpage came from? Thanks.

Like document.addres s or something?


I think you mean document.referr er ?


I think "webpage came from" is a bit misleading. I expect the OP is
looking for document.URL. In any case, I'm sure the OP can discern the two.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #3

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

Similar topics

0
2761
by: Steve Carrow | last post by:
Hello, I'm trying to write a web app where an XML source file is transformed by an XSL document via a Java 1.4.1 servlet. Development is under WSAD 5 on Windows 2000. The XSL document refers to another XML file in the same directory as the source; that is done via a: "document(concat($other_file, ''), .)" call, where $other_file was...
5
3305
by: brettr | last post by:
When I reference document.cookie, there is a long string of key=value; pairs listed. I may have 100 hundred cookies on my hard drive. However, most only have one key=value pair. Does the document.cookie variable combine all cookie key=value pairs? All of the examples I've seen discuss referencing a specific cookie. I don't see how this is...
6
1801
by: JonQuark | last post by:
Hi, I suspect this is a common question but I've read the FAQ and searched the archives and couldn't find it. In a script embedded in the body of the page I want to quickly find the last node that was created and appendChild nodes to it. I can't just use document.body.appendChild as the last node is likely to be a grandchild or...
2
10673
by: Greg | last post by:
Hi. I have a rather large xml document (object) that can have one or more nodes with a certain attribute throughout (at ANY depth, not at the same level necessarily). I need to find this attribute and remove the containing node (and child nodes) if it has a certain value. I'm able to find the attributes using an XmlTextReader. Once found,...
4
6345
by: spivee | last post by:
I'm having an odd type of issue. I want to be able to pass an element name in my javascript event and find the location of the element, be it a div, span, img whatever, specifically the top and left attributes. I have defined my element like so... ### .css file... #mydiv { position:absolute;
12
3371
by: e271828 | last post by:
Hi, I'm helping to work a developer tool that verifies a given HTML element has a given attribute (e.g., that all LABEL elements have a FOR attribute, all INPUT elements have an ID attribute, etc.). Pretty much all of the functionality is working except a feature that shows in which line of the HTML source a violation of the user-set rule...
2
3003
by: Pete90 | last post by:
I am trying to write a Javascript to find the entire row in a table with the highest grades and highlight it. But nothing happens except the table is shown. In this case, the grades are represented by "O" and each "O" represents 5 marks. Below is the coding. Does anyone know the reason? <html> <head> <title> </title> </head> <body> ...
1
1296
ebs57
by: ebs57 | last post by:
This one is a bit tough (for me). I'm running a query that looks through two unrelated tables: One table contains an ID and the name of a training document while the other table contains an ID, an employee name and the name of the training document he/she read. My goal is to find the documents he/she did NOT read. Creating a query for...
3
2200
by: MarkMYoung | last post by:
I'm trying to transform an ugly Lotus Notes database into a condensed XML file for loading into another product that only needs ~25% of the data. For some reason, my template matches only work for "/". What do I need to change in my XSLT to get it to actually start processing my document's node other than /? Mark Input: <?xml...
23
2189
by: andersond | last post by:
I have a form with 31 questions each of which could cause an application to be rejected. I have 10 fields named issue 1...issue10. If a problem is found I want to save a message to the first empty issue field. The code is below. The problem is it uses two issue fields each time. For example if there is a problem with question 2 it puts the...
0
7432
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7689
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7456
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7786
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5359
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3490
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1919
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 we have to send another system

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.