Jun 07, 2014, 2:30 PM
[CLOSED] Uncaught Error: Syntax error, unrecognized expression: li.\
<ext:DataView ID="DataView1" runat="server" ItemSelector="ul.sc_case"
EmptyText="<li>暂无数据</li>">
<Store>
<ext:Store runat="server" ID="store1" OnReadData="LoadCases" PageSize="6">
<Model>
<ext:Model runat="server">
<Fields>
<ext:ModelField Name="id"></ext:ModelField>
<ext:ModelField Name="name"></ext:ModelField>
<ext:ModelField Name="img"></ext:ModelField>
<ext:ModelField Name="info"></ext:ModelField>
<ext:ModelField Name="price"></ext:ModelField>
</Fields>
</ext:Model>
</Model>
<Proxy>
<ext:PageProxy></ext:PageProxy>
</Proxy>
</ext:Store>
</Store>
<Tpl ID="Tpl1" runat="server">
<Html>
<tpl for=".">
<li class="picUl-son">
<div class="pic"><a href="#?id={id}" title="fdfdfdf"><img src="{img}" width="196" height="146" alt="{name}" class="PicAuto" style="padding: 0px;"/></a></div>
<div class="text"><a href="#?id={id}" title="{name}">{name}</a></div>
</li>
</tpl>
</Html>
</Tpl>
</ext:DataView>
what's the meaning of <tpl for=".">
ItemSelector="ul.sc_case"
what cause the error:Uncaught Error: Syntax error, unrecognized expression: li.\
Last edited by Daniil; Jun 17, 2014 at 11:39 AM.
Reason: [CLOSED]