Question: I want to control my image object is or is not `null`. `if(pictureBox.Image == null)` works C# but I cannot find a code for WPF. What should I write for this?

Answer: 
You have to remove the hash symbol from the anchor's id attritute value.

The anchor tag should be like:

```
<a href="#" id="menu-trigger" data-role="button" class="ui-btn-left">

```

and the event handler script should be like:

```
<script>
    $(document).on('click', '#menu-trigger', function(e){
        // your code
    });
</script>

```

I hope this helps.
you should be binding the pageinit to a div that has `data-role = "page"`, not to document.

also depending on what your html looks like, you may be using 'on' on the wrong element. it needs to be a parent element of the element you want to bind code to your click event.
so it is like

```
$('#someparent').on('click', yourfunctionasdefinedabove, '#menu-trigger');

```

(If menu-trigger is the parent, please ignore this second part)