asp.net jquery id selector in content page
<pre><code>&lt;script type="text/javascript"&gt;
    $(document).ready(function () {
        $(".div_soru").toggle(function () {
            var cevap = "cevap" + $(this).attr("id");
            $("xxx").slideDown(); // 
        }, function () {
            var cevap = "cevap" + $(this).attr("id");
            $("xxx").slideUp();
        });
    });
&lt;/script&gt;
</code></pre>

<p>in my content page :</p>

<pre><code>&lt;asp:Repeater ID="Repeater_sorular" runat="server" DataSourceID="SqlDataSource_sss"&gt;
     &lt;HeaderTemplate&gt;
     &lt;/HeaderTemplate&gt;
     &lt;ItemTemplate&gt;
         &lt;div&gt;
             &lt;div class="div_soru" id='&lt;%# Eval("sss_id") %&gt;'&gt;
                   &lt;strong&gt;&lt;%# Eval("sss_baslik") %&gt;&lt;/strong&gt;
             &lt;/div&gt;
             &lt;div class="div_cevap" id='&lt;%# "cevap"+Eval("sss_id") %&gt;' style="display: none; padding: 5px 5px 5px 15px;"&gt;
                  &lt;%# Eval("sss_icerik") %&gt;
             &lt;/div&gt;
         &lt;/div&gt;
     &lt;/ItemTemplate&gt;
&lt;/asp:Repeater&gt;
</code></pre>

<p>in script code,i want write id=cevap, what i write instead of "xxx" i cant find correct syntax.
in master page , when write $("#" + cevap) it works. but in content page, it doesnt work.</p>

<p>thanks...</p>
