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...
Hello,
I have this code:
$('input#add_imageupload').livequery('click', function(){
var image = $('input#add_image').val();
alert(image);
$.ajax({
type: "POST",
dataType: "html",
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
just as info, I have included all jquery files + jquery code is in
$(document).ready(function(){
code here...
});
$('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
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
6 matches
Mail list logo