$.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...
- $("#users").change(function () {
- $.get('scripts/php/jquery_db.php', function(data) {
- $("#details").html(data);
- $("#details").css("visibility", "visible");
- alert('Load was performed.');
- })
- });
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.