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

Ask A Question

Stats

  • Questions 512k
  • Answers 512k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Don't know if you really need that autopostback on the… May 16, 2026 at 5:38 pm
  • Editorial Team
    Editorial Team added an answer Not sure why you need this as it defeats the… May 16, 2026 at 5:38 pm
  • Editorial Team
    Editorial Team added an answer Go to http://www.facebook.com/developers/ and select your app from the list. May 16, 2026 at 5:38 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have some code for validating date below: function validateForm() { var errFound =
Here is the problem. I have data validation and sanitation code in PHP and
I have such problem: I'm creating a container and it's content at runtime. Here's
I am using the jQuery form validation plugin. The problem I have is that
I have a modal popup with a form in it. When submitted via ajax
I found the source of the problem #2. It is the use of session_register(foo)
I have to write a very large test suite for a complex set of
I've been looking for solutions to this problem for far too long considering how
I have a GridPanel with just two columns: names and commission percentages. The sum
I am working on a form that provides real-time validation to the user and

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.