Hi Mike,
I just made a script in $(document).ready:
$('#albummenu').load('albumok.php',function (data) {
$('#albummenu').find('a').bind('click', function()
{$('#albummenu').hide('slow');});
});
data is like so:
<a href="#" onclick="showAlbum(8);">An item</a>
I also have this showAlbum function defined:
function showAlbum(value) {
$.getJSON('album.php?id='+value, function(data) {
kepek = data;
alert(kepek.length);
});
}
My problem is, that this showAlbum won't fire in IE7!!! no problem for
FF and IE6 only for IE7
Any idea?
thx
Alex
PS.: I use IE7 STANDALONE LAUNCHER 1.8, can that be a problem?
On 2/8/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
> $.getJSON(mypage.php, function(data) {
> var a = data.a;
> var b = data.b;
> // etc
> });
Oops. That should read:
var a = data[0];
var b = data[1];
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/