Jump to content

Ajaxrequest run only on localhost?


Recommended Posts

I take up the topic of a post a few weeks ago trying to be clearer on the problem.

I wrote an app for geolocation by inserting the script in the onclick event of the button, in the ajaxrequest event the reading of the data returned by the call.

If I log in with loalhost: 8078, the event click and the CurrentPosition event are detected with the latitude and longitude values.

If I log in with 192.168.1.9:8100 (local ip of the pc) or from a browser on the internet, only the click event is detected.
The source of the test is attached.

 

Projectgeoloca.zip

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...