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
Server healtness
WDS Server 2008 R2 - PXE Error
MAC Os 10.4 Startup problem.
Can You Remote Access PowerShell?
sql server tables
windows 2008 Domain controller for 200 AD
Detect ESC key press in VSTO
object required error
Air 2.0 Native Process: Why does process.standardOutput.rea
dUTFBytes seem to overflow?
BES Activation issue