views:

43

answers:

1

I have autocomplete, that simply calls $.ajax. And when its getting result, it tries to evaluate with globalEval function. That making

<script>
   {"success": true}
</script>

Than IE says "Expected ;". Near I have another ajax call that is working good and without globalEval executing. What can cause this?

+1  A: 

Do you have dataType: 'json' in your $.ajax call?

Rocket