http://docs.jquery.com/Core/jQuery#elements
Something like this:
function doSomething(objCheckbox){
$(objCheckbox).parent().css("color", "red")
}
Also remember that getting a parent is a function call (you forgot the
brackets).
Something like this:
function doSomething(objCheckbox){
$(objCheckbox).parent().css("color", "red")
}
Also remember that getting a parent is a function call (you forgot the
brackets).
No comments:
Post a Comment