Below is a simple   jQuery.getJSON  call for fetching json data
through jQuery but issue i am facing is that below code works
perfectly fine in firefox,safari but breaks in IE-7.
I have an alert in the call back function for json response which
works in firefox but in IE-7 it does not give any alert.Neither does
it gives any js error.
Seems control isn't coming back to the call back function.
Any help would be highly appreciable, i am using jquery for the first
time and really found it great except this issue .Thanks in advance.
-yabhi


 filter_results : function() {

    // find the active filters
      params = {}
      var self = this;

   //Next four lines simply populate variables i need to send alng
with request which should not be an issue
   this.all_filters.keep(function(jelt){ return
jelt.elt.checked }).each(function(){
      var f = this;
      f.enable();
      params[ f.jelt.attr('group') ] = f.jelt.attr('value');
    })

        // Ajax-request
      var url_json="http://abc.com/im/output_json.php";;
      jQuery.getJSON( url_json, params, function(json){
      alert(json.data);
    });
  },




Reply via email to