views:

30

answers:

1

Nokia Errorflickr

Here's a simplified demo: http://jsbin.com/emugo3

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
<script>
try {
  $(function () {
    $.noop();
    $("#hello").text("it works");
  });
} catch (e) {
  alert(e.message);
}
</script>

The user agent for my phone's browser is:

NokiaE71x/ATT.03.28 Mozilla/5.0 SymbianOS/9.3; U; [en]; Series60/3.2; Profile/MIDP-2.1 Configuration/CLDC-1.1 AppleWebKit/413 (KHTML, like Gecko) Safari/413

I've tried googling this error and I've seen people with really old versions of Safari having the same issue, but I haven't seen a solution yet. Does anyone know anything I can try?

A: 

The solution that worked for me is to use version 1.2.6 of jQuery: http://jsbin.com/emugo3/14

That was the latest version that still works with my phone.

travis