Thanks Edwin,
it still don't think it's my PHP that's causing the problems.
The code is inside a php-script so all variables gets replaced at runtime.
But replacing the phpvariables with hardcoded values causes the same
problem.
$(document).ready(function(){
$("a#cat_1").click(function(){
$("#ajaxloadimage").ajaxStart(function(){
$(this).show();
});
$.ajax({
type: "POST",
processData: true,
dataType: "html",
url: "getallfromcategory.php",
data: "uid='. $cat_result['uid'] .'",
success: function(txt){$("#show_cat_1").append(txt);}
});
$("#ajaxloadimage").ajaxStop(function(){
$(this).hide();
});
$("#show_cat_1").ajaxSuccess(function(){
$(this).slideDown("slow");
});
});
});
Are there any limitations on how much data Firefox can handle when updating
via JS? Do I have to divide the data into smaller chunks?
Thanks!
- Matias Oberg
Edwin Martin wrote:
>
> Matias Oberg wrote:
>> Could this be it and are there any ways to avoid it?
>>
>>> success: function(txt){$("#show_'. $catid
>>> .'").append(txt);}
>>>
>
> Look at the contents of the string "#show_'. $catid .'". I don't think
> you want to use this as a selector.
>
> I guess you want to paste in the value of a PHP-variable, so your
> problem is in your PHP-code.
>
> Edwin Martin
>
--
View this message in context:
http://www.nabble.com/Newbie-Alert%3A-Problem-with-Ajax-tf3290902.html#a9179029
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/