Question: im working on android HTML5 app and i have this problem i hope it's easy for you to solve 

i have this JS code and it's working fine 

```
    $( document ).ready(function() {
var myTable = '' ;

var url = "categories.php";

$.getJSON(url, function(json) {
           i=1;
                $.each(json, function(k, v) {

                myTable +=   "<li><a href='"+v.link_title+"'>"+v.title+"</a></li>";

                });
                $("#cats").html(myTable) ;

        });
  });

```

This Code Output is :

```
<li><a href='1'>CatrgoryA</a></li>

```

href (1) is the ID of this category

Now What i want to do is: 

1. When user click on this link, it takes him to the CatrgoryA Page and Display all results Under this category.

the result is not the problem, 
the problem is HOW DO I MAKE JS GET THE VALUE OF THE CATEGORY SO I CAN GET RESULTS

Answer: 
If you want to Register your "My" Namespace try this:

```
protected function _initNamespace()
{

    $autoloader = new Zend_Application_Module_Autoloader(array(
            'namespace' => 'My',
            'basePath'  => dirname(__FILE__),
    ));

    return $autoloader;
}

```

Dispatch is not necessary.
This is all that you need:

```
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
    public function _initRegisterNamespace()
    {
        Zend_Loader_Autoloader::getInstance()->registerNamespace('My');
    }
}

```

if that doesn't work please provide some info about the errors you're getting.