I have ready many of the other posts ppl have asked here about the origin not allowed blablabla,
Now I have tried to add --Access-Control-Allow-Origin and enable apps and even disabled security but every time I try my button on the php page it just keeps stating
Origin null is not allowed by Access-Control-Allow-Origin.
Can anyone help me at all? Here is the code that is causing the problem
page.php
<html land="en">
<head>
<meta carset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css";
</head>
<body>
<!-- Document Ready Event -->
<input id="text" type="text" /><input id="submit" type="button" value="Submit" />
<div id="feedback"></div>
<script src="../jquery-1.10.2.min.js"></script>
<script src="script.js"></script>
</body>
</html>
Script.js
$('#submit').click( function()
{
var text = $('#text').val();
$.get( 'PHP/reverse.php', { input: text }, function( data )
{
$('#feedback').text( data );
});
});