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 7403497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:06:01+00:00 2026-05-29T05:06:01+00:00

Working on group highlighting for a form based on this tutorial I found: http://www.jankoatwarpspeed.com/examples/ContextHighlighting/

  • 0

Working on group highlighting for a form based on this tutorial I found: http://www.jankoatwarpspeed.com/examples/ContextHighlighting/

Right now I have a part of the form built out but group highlighting doesn’t work. Any help would be greatly appreciated: http://jsfiddle.net/coachpacman/pYEBZ/

I think the problem is in my jQuery, but I can’t seem to find a problem when comparing to the tutorial syntax.

  • 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-29T05:06:04+00:00Added an answer on May 29, 2026 at 5:06 am

    Make sure you set the JavaScript framework to jQuery, on the left-side pane. When you do that, the entire form highlights when you click inside a form field.

    If you wished to just highlight an individual row then you need to change your HTML to match:

    <div class="content">   
        <div class="row">
            <div class="left">First name</div>
            <div class="right"><input name="Text1" type="text" class="text" /></div>
            <div class="clear"></div>
        </div>
    
        <div class="row">
            <div class="left">Last name</div>
            <div class="right"><input name="Text1" type="text" class="text" /></div>
            <div class="clear"></div>
        </div>
    
        <div class="row">
            <div class="left">Email</div>
            <div class="right"><input name="Text1" type="text" class="text" /></div>
            <div class="clear"></div>
        </div>
    
        <div class="row">
            <div class="left">Password</div>
            <div class="right"><input name="Text1" type="text" class="text" /></div>
            <div class="clear"></div>
        </div>
    </div>
    

    Because in your current code you are missing each individual row.

    At this point you will have to use the other piece of the JavaScript to highlight an entire section of code:

    $('.content .left, .content input, .content textarea, .content select').focus(function()
    {
        $(this).parents('.content').addClass("over");
    }).blur(function(){ $(this).parents('.content').removeClass("over"); } );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an android form with a radio group containing a set of
I'm currently working with this MySQL statement: SELECT * FROM jobs GROUP BY jobType,
I'm working on the website for a mmo-rpg game-based group, and I'm having trouble
I am working on the project where i had used choice group in form.
Two parts to this question 1) I am working with a group of six
The ECMAScript working group has started working on the next edition of the language.
Background: We have an offshore group working up a Silverlight 2 prototype for us.
I'm working with a group of other programmers on an open source project built
I am working on a group project for class and we are trying out
G'day, I am working with a group of offshore developers who have been using

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.