0
votes
1answer
60 views

Java Script to get localhost+htdocs folder

I have following url to be build, http://localhost/myweb/cart/index.php I want to get the http://localhost/myweb/ bit build dynamically. To do that on my live web site which is ...
0
votes
1answer
33 views

Always need to clear cache

I have a facebook app I am testing on my localhost. It's quite annoying that I always need to clear the cache in order to reload after making changes. Any idea how can I solve this? I've heard from ...
0
votes
1answer
287 views

IE 10 Not setting Cookies (From js)

A while back I switched a large development project from using cookies to using localStorage. However I've realized that I was a little bit gun-ho and that some of the cookies were actually need on ...
0
votes
1answer
149 views

ISP causing Facebook Access denied 403

I am using Facebook Auth on my local computer and it had been working fine until this morning. I can't figure out why I get an access denied when connecting. http://facebook.com/en_US/all.js Here is ...
0
votes
1answer
132 views

Facebook Canvas: redirect_uri is not owned by the application

I am trying to integrate facebook canvas on my web application that is currently running on localhost:8080 upon running the site it gave me this error. API Error Code: 191 API Error Description: The ...
0
votes
1answer
71 views

JavaScript Cross-Origin image Sharing on localhost! What to do? [duplicate]

OK so, i've been stuck for a long time now on this. I've read all the other quetions and comments about this but i haven't got any further... I am working on a JavaScript project in Aptana Stundio 3. ...
-2
votes
1answer
80 views

Javascript is not working in localhost (MAMP), but working on server? How can I fix this? [closed]

I have been trying to run my websites from the local server, everything else is displayed in the browser except for the JavaScript. Can anyone please help me fix this. Thank you
0
votes
1answer
92 views

Read json file from localhost with javascript

I'm very new to javascript so I need a little help! I need to read a ".json" file from my localhost, but it didn't work! The contents of the file are as follows: [ {"source":"tw1", ...
0
votes
1answer
66 views

FB.login only works with my developers account

When I use the FB.login function from the JavaScript SDK and I am logged in on Facebook with my developer account the popup appear and everything is fine. If I'm logged out or logged in with another ...
0
votes
1answer
67 views

jquery $.get() not working on localhost

I'm trying to use jquery $.get() to obtain values from a server file. Both files are currently on my machine in the /var/www directory (using linux). I am aware of the cross-domain restriction for ...
9
votes
4answers
11k views

how to get the host url using javascript from the current page

I need to get the host name from the following URL. I want to do this using Javascript. http://www.webmail.com/pages/home.aspx I want to retrieve "http://www.webmail.com" from the above URL.How can ...
0
votes
2answers
64 views

Calling external javascript from localhost and WAMP

I'm learning how to build a webpage and have been practicing using WAMP. I've hit a problem I don't understand. If I try this example from my browser (going there directly from the address bar) ...
1
vote
1answer
245 views

Script works in localhost but not on server

I have this problem where a code is working on localhost but not when I upload it to the server. I want to implement this: Polaroid Photobar Gallery Here's a link to my website: Zodiac 2013 Note: ...
0
votes
3answers
94 views

html & js - load resources from client local path instead of server path

this is the scenario of my question: I have a web page that shows some images throug jquery dom injection, like this: <!-- this is inside an html page --> <img id="img1" src="#" /> ...
1
vote
0answers
76 views

Code runs faster on localhost (via POW) then on server on mobile browser

I am using POW to set up my iPhone to test a web app on localhost. The javascript performance that ran on the POW localhost on my phone is good i.e. scrolling and loading was fast. However, when I ...
0
votes
0answers
95 views

localhost webservice listener called by javascript on other domain

We have built an html web listener (C#) on a local machine to listen for any webservice requests coming from the local browser. The local browser is doing this through javascript XMLHttpRequest on a ...
0
votes
2answers
99 views

localhost and java script

My code works fine, but I wanted to clean up the code by putting the entire java script in an another file like maps.js. But the line with maps.js is not recognised. Using Firebug, I tried to debug ...
0
votes
1answer
117 views

Secure localhost JavaScript ajax requests

I have a written an app, with python acting as a simple web server (I am using bottle framework for this) and an HTML + JS client. The whole thing runs locally. The web page acts as GUI in this case. ...
0
votes
1answer
337 views

File Upload Warning post content-length of bytes exceeds the limit

I am making a file upload system. The user chooses where to upload using the dynamic drop down list. And this is the problem I am facing right now. This is my form. <form action="uploader.php" ...
1
vote
1answer
462 views

Access is Denied - IE8 Polyfills

I've found similar questions to the issue I'm having, but not of them seem to resolve my particular issue. I'm working on a website prototype that I'm hosting locally. I'm referencing JQuery, ...
0
votes
2answers
529 views

navigator.cookieEnabled not working in IE9 in localhost

I am working with asp.net, and in my logon.aspx page I have the following code copied from a previous question/answer: is it possible to check if cookies are enabled with modernizr ? function ...
0
votes
0answers
107 views

401 Access Denied for a JS file used in an HTML page

<SetUp()> _ Public Sub SetupPage() webCLient = New WebClient page = webCLient.getPage("http://127.0.0.1/pastries/order.aspx") End Sub Then an error in the unit test ...
1
vote
0answers
63 views

Interactive Logic-Tree, Moving from Local Host to Online Accessible

My name is Josie and I am working on creating a logic-tree process for a group. I have a program and created this interactive logic-tree, and it currently operates on my local host (ex. http:// ...
1
vote
1answer
37 views

Do I need to register a domain with an OAuth2 provider, like google, or can use my own IP address/Localhost to send requests?

I can't push my code to my domain and have been testing up until this point on my local web server, 127.0.0.1. But can I avoid registering a domain with the OAuth2 providers, and send requests from my ...
0
votes
1answer
785 views

Validating ReCaptcha (Javascript API) User Answer on Localhost with ASP.NET

I am using ReCaptcha with the javascript API on my aspx page on localhost. I read somewhere that I don't need a key as long as I use it on localhost. So, I use some random key that I found somewhere. ...
0
votes
0answers
203 views

CSS and Other Files Not Working on Local Server Using MAMP

I finally have MAMP server working properly, configuring PHP errors to show (and there are none showing up on the browser). But, I'm running into the same problem as this user, which can be read ...
0
votes
0answers
113 views

Localhost Site Getting Slow Suddenly [closed]

i am working on a localhost project.Just yesterday it was running fine,with no lags.But all of a sudden, today it is getting very slow.Chrome is slow but is fully functional.IE is fast but gets slower ...
1
vote
1answer
206 views

Javascript works locally but not on server with niceEdit

Okay, I'm pretty much at a loss. I've been doing to for a while and have always found my answer on Stack Overflow or somewhere on the internet. I've never had an issue I've actually had to ask, but ...
2
votes
3answers
945 views

Run php files without Installing Zend optimizer

I am trying to run php files on localhost, the php files are encoded with zend, which I am actually not sure why and what purpose does it have. I get the message that to run the files you should ...
0
votes
0answers
130 views

Javascripts no longer working on localhost, production server yes

I have a 2 different javascript events that no longer work on windows7/iis7 localhost, but work on the production server. One is a shows/hide a div tag, the other is a popup window. I looked into ...

1 2 3
15 30 50 per page