Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 762963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:28:59+00:00 2026-05-14T16:28:59+00:00

I have problem with validation such code function show_help_tip(event, element) { var $e =

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T16:29:00+00:00Added an answer on May 14, 2026 at 4:29 pm

    You need to escape the / to stop it terminating the script element.

    "<\/p>"
    

    The validator should link (via a couple of steps) to http://www.htmlhelp.com/tools/validator/problems.html#script

    This is an oddity of SGML, in which an element defined as containing CDATA (such as a script element) will be terminated by any end tag, but if that end tag doesn’t match the start tag, then it is invalid.

    In a JavaScript string, "/" and "\/" are equivalent, but in HTML </p> and <\/p> are not, so this lets you avoid having something that appears (to the HTML parser) to be an end tag in your script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have such problem: I'm using rails, devise gem and jQuery validation plugin. I
I have some code for validating date below: function validateForm() { var errFound =
I have a problem with validation messages not showing after a redirect, even when
I have problem with repopulating form_upload after validation. Other input fields or selectboxes are
Hey I have a problem with the validation and upload of apps to the
I am new to QTP and I have a problem with error validation message.
I have a problem with the Microsoft EnterpriseLibrary validation framework. Let's say we have
I have a strange problem with the validation I am writing on a form.
I have a problem with Hibernate Validator 3.1.0.GA not looking up custom validation messages
i have a problem with my mvc3 application, i need to create some Validation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.