Instead of using javascript:alert('hi'), suppose I store alert('hi') in x.js and put it on host.com/x.js. Is it possible to execute host.com/x.js directly from the address bar using javascript
Instead of using javascript:alert('hi'), suppose I store alert('hi') in x.js and put it on host.com/x.js. Is there a way to execute host.com/x.js directly from the address bar using javascript:?
Is there a way I can read my address bar and write the link to a file. I think it is great that websites post the code I need but the cut and paste thing gets to be a drag. If I am using my browser I am not editing my site. I need a way to save from the http and com. are maybe the part between the two dots.
i want to add the link address when clicked on the link in web page to the outlook express address book when the outlook window populates. i tried to put
<a href="mailto:enquiry@mydomain.com" > click here </a>
but it only add address to the To section of outlook window, i want it should store the address in the address book.. of outlook express..
I have been looking for a solution for a long time. I have embedded a SWF app in html page using SWFObject. Now I need to give the Flash app the address where it is currently embedded, since the same SWF file is embedded in more than one locations! So the Flash app is supposed to pull the right content according to its current position
I have a <input type = file> button for uploading a file in my php page. As soon as i select a file from the button, i need the file data to be displayed so that i check whether the file selected has the correct data. How can i do this.
I want to know how can i make javascript that i can use by run into in address bar.. I just need such javascript that run through address bar. My purpose is How can i check all check box in webpage that do not include all check or uncheck button? Best common example for check all or uncheck all is
Is this possible??? I am working on a server which does not have Server Side Includes. Is there anyway to get a clients IP address using JavaScript without SSI?
I know you can use javascript in the address bar to display alert messages and misc. stuff like that. But when I try and control some forms it loadsa a new page for the loaded example...
I have a simple little code script and I'd like either the onClick function (or the entire code itself, whichever is easiest) to only load once every 24 hours for each IP address. So "123.1.22.333" should only get the effect of this code once every 24 hours regardless if they revisit my site 5 times a day let's say.
I am trying to split an IP address into it's 4 octets using a RegExp and assigning the result to an array but it is not working. Here is my function so far:
<script type="text/javascript"> function lastoctet(ipaddress){ var ipoctets = new Array();
Can any one hlep me in disabling address bar in IE7.0 using javascript. In IE 6.0 if you give locaiton = no, it will disable the address bar.It was not working with IE 7.0.
I have a javascript pop up on some of my links. when you click on the link and the pop up window opens, you see the address to that page for a few seconds on the top of popup window....
Is there a way to get the visitors *local* IP-address in javascript? I mean his LAN address like 192.168.1.x, not his regular IP-address.
I found several approaches that attempt to do this, but they either give me the external (regular) IP address, or they give 127.0.0.1 which doesn't really tell me anything. I need the local network address.
Just an alert saying "your machine's local network IP is 10.0.0.139" .
I done a huge google job and found "location.href" I've got that displaying the url of the page which is not what I want I'm using dynamic url's in php so the ID at the end of the url will always change, So I want to use javascript to get the current url meaning that it'll inlude the ID and to click a link with that current url. I tried this:
Code: document.write("<a href='"+location.href+"' onclick="share();">Share With Your Friends</a>");
I want to create a link that a user can click which will create a popup telling the user their ip address. I have:
var ip = new java.net.InetAddress.getLocalHost().toString(); alert("Your IP address is: " + ip.substring(ip.indexOf("/")+1))
but this does not seem to work. It says the ip is 127.0.0.1. Strangely, this piece of code used to work but all of a sudden it doesn't for some unknown reason. Can anyone tell me what's wrong with the above code?
In a FrontPage web I'm trying to validate an email address to be sure it meets some minimum format, perhaps something like ?@?.* I was told that this could be done in javascript. Any help would be very much appreciated.
I want to know about a method for detecting client's IP which is running behind a proxy server. Is there any possible way in Javascript to get the IP address of the client's machine which is using proxy.