JQuery inner HTML element
2 answers
The context for both queries is the same, which in this case is the element that represents this
. The parent()
context doesn't change when you call . This is the item that this
represents.
You can specify the context of the request, for example:
$("...", contextElement)
For more information visit:
+1
a source to share