$('.direction') returns a jQuery object that is similar to an array of
nodes. $('.direction')[0] returns the first node in the jQuery
object, without any jQuery features... just the basic DOM node. $
('.direction').eq(0).html or $('.direction:eq(0)').html are what you
are looking for. They
Thanks seasoup. That prevents the error from popping up but no html is
injected into the DIV. Why do you think this is ?
On Nov 25, 11:49 pm, seasoup seas...@gmail.com wrote:
$('.direction') returns a jQuery object that is similar to an array of
nodes. $('.direction')[0] returns the first node
2 matches
Mail list logo