using $.getJSON but get " missing ; before statement &a
Hi!
I am the beginner of the jquery , there are many things which I don`t know.
I start to connect my collegue server to get the jsp file, however, I use the FireBug to give me " missing ; before statement " error messgae.
The connection is fine.
The program is shown below,
<script type="text/javascript">
$(function(){
$.getJSON('http://192.168.1.12:8080/WebApplication1/index.jsp?q=1&jsoncallback=?',function(data){alert("aaa" + data) });
});
</script>
missing ; before statement
index.js...285340119 (行 1)
json 2
"jason 2" is callback data
I hope that you can help me^^
thx a lot!