I have this aspx code

```
<form id="form1" runat="server">
        <div id="tabs">
            <ul>
                <li><a href="#tabs-1" >Today</a></li>
                <li><a href="#tabs-2" runat="server" onclick="TodayTab_Click">Tomorrow</a></li>
                <li><a href="#tabs-3">Any Date</a></li>

```

although i have used `onclick` function, this function is not being fired,

why please?7

### this is the function and I make a break point on it

```
protected void TodayTab_Click(object sender, EventArgs e) {
            int i = 9;
            i++;
        }

```

### edit2

You guys told me that I have to change my `a` tag to `asp:Hyperlink` and I did, but the function is still not being fired.

and this is the updated code

```
<form id="form1" runat="server">
        <div id="tabs">
            <ul>
                <li><a href="#tabs-1" >Today</a></li>
                <li><asp:Hyperlink href="#tabs-2" runat="server" onclick="TodayTab_Click">Tomorrow</asp:Hyperlink></li>
                <li><a href="#tabs-3">Any Date</a></li>

```