[jQuery] Re: livequery, $.ajax and json

2008-02-24 Thread FrEaKmAn
Update: Works great, I just had a problem that when I was using json, the data that was returned from albums.php wasn't json formatted...

[jQuery] livequery, $.ajax and json

2008-02-23 Thread FrEaKmAn
Hello, I have this code: $('input#add_imageupload').livequery('click', function(){ var image = $('input#add_image').val(); alert(image); $.ajax({ type: "POST", dataType: "html",

[jQuery] Re: I need some help with basic thing

2008-02-16 Thread FrEaKmAn
adds to whatever is already in > "#message". If you wish to replace the contents, you could precede > that line with this: > > $('#message').empty(); > > Hope that helps, > > --Karl > _ > Karl Swedbergwww.englishrules

[jQuery] Re: I need some help with basic thing

2008-02-16 Thread FrEaKmAn
just as info, I have included all jquery files + jquery code is in $(document).ready(function(){ code here... });

[jQuery] I need some help with basic thing

2008-02-16 Thread FrEaKmAn
$('a#addsuggest2').click(function() { alert('working'); }); $('a#addsuggest').click(function() { //alert('working'); $('#message').html('add'); }); Add what is wrong? When I click on second add link (addsuggest2) nothing happens

[jQuery] Jquery and function(json)

2008-02-15 Thread FrEaKmAn
Hello, so today I started with jquery and wow :D I have one question regarding json. I found this topic (I'm sorry if linking isn't allowed) http://www.designerstalk.com/forums/programming/29651-jquery-ajax-question.html I want something similar: ... success: function(json){ if( json.su