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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:51:15+00:00 2026-06-07T14:51:15+00:00

I have a form(HTML) in which I want to navigate through the elements using

  • 0

I have a form(HTML) in which I want to navigate through the elements using Enter Key (Enter Key should act like Tab). To achieve this functionality I have used the PlusAsTab library. Also I need autocomplete feature on one of the textbox. For AutoComplete Feature I am using TypeAhead from Twitter Bootstrap.

So I am using PlusAsTab and Twitter Bootstrap Together.
Now the PlusAsTab Navigation using the Enter Key is working fine with elements other then those associated with TypeAhead. For the Elements associated with TypeAhead I need to press the Enter twice to navigate. I tried to debug but not successful. I am quite new to Javascript hence not able to debug it properly.

Please find the code in JSFiddle.

I have attached the code here too for convenience

<!DOCTYPE html>
<html lang="en">
<head>
<title>Trial</title>
 <link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet">
</head>

<body>

<div class="plus-as-tab form-inline" id="transtable">
<select class="span1" autofocus="autofocus"><option>Dr</option><option>Cr</option></select>
<select class="span4">
    <option>SelectAccount</option>
    <option>GodAccount</option>
    <option>SundryCreditors</option>
    <option>SundryDebtors</option>
    <option>Capital</option>
    <option>Cash</option>
    <option>Sales</option>
</select>
 <input type="text" class="span4" placeholder="Narration" style="margin: 0 auto;" data-provide="typeahead" data-items="4" data-source='["ChequeNo : ","Account No : ","No : ","On Canara Bank : " ]'>

<div class="input-prepend">
    <span class="add-on">Rs</span><input class="span3" size="12" type="text" onchange="nextrow(this)" onkeypress="return allowonlynum(event)">
</div>
    </div>

    <script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://joelpurra.github.com/plusastab/lib/emulatetab/src/emulatetab.joelpurra.js"></script>
<script src="http://joelpurra.github.com/plusastab/src/plusastab.joelpurra.js"></script>
    <script src="https://raw.github.com/twitter/bootstrap/master/js/bootstrap-typeahead.js"></script>
    </body>
</html>
​

Please help me to debug this problem further.

  • 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-06-07T14:51:16+00:00Added an answer on June 7, 2026 at 2:51 pm

    With the help of my Friend I have temporarily solved this problem. In the PlusAsTab library I have added one more call to focus the next element, ie., it will try to focus on the next element twice. I know this is not the right solution but it is solving my problem.

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

Sidebar

Related Questions

I have a complex HTML form which I want to send via email. Is
I have an HTML form which I want to post data to then display
I have a basic html form which I want to use with two submit
I have login form which i want to send via ajax using serialize but
I have this textfield in a html form, which I want to insert into
I have a form in html which runs a php script whitch inserts text
I have an HTML form which, when submitted by the user, will call a
I have an html form which when it gets submitted it calls a JavaScript
I have a html form which have a select list box from which you
I have this html form which has options: <tr> <td width=30 height=35><font size=3>*List:</td> <td

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.