我是利用JQUery及其类似方式生产的Html。
<p class="fieldChoices title" style="">
Choices:
<input id="Choice1" value="option1" maxlength="150"/>
<div class="seperator"/>
<p class="deleteChoice1 cutsom_button deleteField"></p>
<div class="seperator"/>
<input id="Choice2" value="option2" maxlength="150"/>
<div class="seperator"/>
<p class="deleteChoice2 cutsom_button deleteField"></p>
<div class="seperator"/>
</p>
我在试图点击删除Choice1, 相应的选择必须从使用JQuery的菲尔德Choices中删除。
Also i may not know in JQuery whether i am clicking deleteChoice1 /deleteChoice2 ,, so i dont know how to resolve it using JQuery..please suggest me....