Microsoft
Software
Hardware
Network
Question : Select an element Jquery.
Hello,
Take a look at this code
<li id="2">
<span>
<a class="delete" href="#">Delete</a>
</span>
</li>
onclick of the a.delete I want to grab the li's id in to a variable using jquery. I tried this.
var mid=$(this).parent().attr(
"id");
but as you can see it selects the span tag,
any idea?
Answer : Select an element Jquery.
try
var mid=$(this).parent().paren
t().attr("
id");
Random Solutions
Build and run of Actuate reports
imap_mail_move on POP3 mailbox
Outlook won't open .pptx attachment directly
isql output
Exchange 2007 mail relay
Class Diagram
SAS 9.1 - Excel Import
Adding one cell to the bottom of a named range defined byan OFFSET
Can I send with another domain from the same exchange server
MAC Mail with Exchange 2007 Attachment Issue