[Expired for firefox (Ubuntu) because there has been no activity for 60
days.]

** Changed in: firefox (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/666710

Title:
  jquery ajax success function(data)  - no data.

Status in firefox package in Ubuntu:
  Expired

Bug description:
  Binary package hint: firefox

  I use jquery library 1.4.2.
  In code:

  function checkfav(ktype,id){
   var stat=$("div#ad"+ktype+"_star"+id).hasClass("ad_star");
   var action=(stat)?'remove_fav':'add_fav';
   $.ajax({
   type: 'GET',
   url: 'http://mydomen.ru/ajax.php',
   dataType:'text',
   data: action+'='+id,
   success: function(data){alert("success"+data);
   setfav(ktype,id,data);},
   error: function(data, error) {
   alert("Error " + error);
   }
   });
   } 

  it's alert "success", when ajax.php printed
  "{action:'set_fav':result:'ok'}".

  In ie7 it's work perfectly. 
  Firebug not show content in query GET http://mydmone.ru/ajax.php

  GET ajax.php?add_fav=230
  http://mydomen.ru/ajax.php?add_fav=230        
  200 OK        
  mydomen.ru    
  7 B

  It show size (7 B), but doesn't show content (it just empty)

  By Russian.

  пишу сразу по русски, может найдётся кто знающий.
  В ФФ почему то не работает библиотека jquery (у меня 1.4.2).
  Причём это явно не проблема самой библиотеки, так как при попытке запроса 
$.ajax(...) в логе firebug покзывается строка запроса к php скрипту, 
показывается что пришёл какой-то контент (показывается его размер), но при 
попытке просмотреть в firebug этот контент, показывается пустое место. Скорее 
всего из-за этого команда $.ajax(...) не работает.

  Проверял в ie7, там всё на ура.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: firefox 3.6.11+build3+nobinonly-0ubuntu0.10.10.1
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Tue Oct 26 15:19:19 2010
  FirefoxPackages:
   firefox 3.6.11+build3+nobinonly-0ubuntu0.10.10.1
   firefox-gnome-support 3.6.11+build3+nobinonly-0ubuntu0.10.10.1
   firefox-branding 3.6.11+build3+nobinonly-0ubuntu0.10.10.1
   abroswer N/A
   abrowser-branding N/A
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  ProcEnviron:
   LANG=ru_RU.utf8
   SHELL=/bin/bash
  SourcePackage: firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/666710/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to