$.get succeeds but no data

$.get succeeds but no data

Hi all,

I am new to the while jQuery thing but am trying to run a MySQL query based on trhe selection from a listbox.

I have the listbox working and reacting to the onchange event using the following code...

  1.           $("#users").change(function () {
  2.             $.get('scripts/php/jquery_db.php', function(data) {
  3.               $("#details").html(data);
  4.               $("#details").css("visibility", "visible");
  5.               alert('Load was performed.');
  6.             })
  7.           });
The event fires and the alert is shown but there is nothing shown in #details (a div).

I have seen loads of examples if this working so can only assume that I am doing something fundamentally wrong.

Any help would be much appreciated.

Edit: I've done a little more testing and it seems to work in IE8 but not in FF3.6.