JavaScript and error "end tag for element which is not open"

Posted by Andrew Spilak on Stack Overflow See other posts from Stack Overflow or by Andrew Spilak
Published on 2010-04-30T12:50:29Z Indexed on 2010/04/30 13:07 UTC
Read the original article Hit count: 204

Filed under:
|

I have problem with validation such code

function show_help_tip(event, element) {

  var $e = $(element);

  var pos = $e.offset();

  $('.body-balloon',$help_tip_div).html($(' <p>&nbsp;</p> ').html(element.getAttribute('title')));

  $help_tip_div.css({position:'absolute',top:530,left:pos.left+$e.width()-20}).show();

}

end tag for element "P" which is not open

What's wrong?

© Stack Overflow or respective owner

Related posts about validation

Related posts about JavaScript