Page 1 of 1

For all my questions

Posted: Thu May 07, 2015 1:27 am
by Mokey
So I am making this post for all of my questions that I will have so I don't have to make several different posts..

Anyways my first one is an error.

I get this error when I refresh my page http://oi60.tinypic.com/16ll17a.jpg I posted a link cause the image is a bit large.. Anways I'm not sure what to do about this.


Also I can't copy and paste the code that it is showing for some reason. I can only scroll and click ok.


Edit: Ok so I found the issue.

It had to do with:

Code: Select all

<script type="application/javascript">
$.ajax({
    
    url : 'scripts/php/TestCall.php',
    type : 'POST',
    data : {
    },
    datatype:'json',
    success : function(data) {
        alert('Data: '+data);
    }
});
    
</script>

I guess I have to make that it's own file?

Re: For all my questions

Posted: Thu May 07, 2015 6:15 am
by a_bertrand
Seems you get a full HTML page. I don't really see the error.

Re: For all my questions

Posted: Mon May 11, 2015 5:37 pm
by hallsofvallhalla
Glad you found the answer. Please make separate posts. This way others who have the same issue can learn from it and get answers easily by searching title and not one long post.