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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:25:04+00:00 2026-05-26T03:25:04+00:00

I will preface this question with the fact that I am extremely new to

  • 0

I will preface this question with the fact that I am extremely new to HTML and CSS.

I currently have an engineering page at my company I have inherited that has a ton of links. I have organized into some general categories. However, it has been expressed that they would love a searchbox to search links.

I do not have PHP available to me due to circumstances out of my control. What I do have is all the links in my index.html file with the text they display associated with them.

My thought it that I can create the engine such that it recognizes the tag, and then searches the “name” associated with the link in the tag. However, I really have no idea where to start in terms of implementing such a script.

Of course, there may be a much easier way. I am open to any new approaches. I am not biased toward any programming method or language. Thank you so much for the help everyone, and I can provide any other non-NDA information I can.

  • 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-26T03:25:05+00:00Added an answer on May 26, 2026 at 3:25 am

    I would look at the jQuery UI Automcomplete library http://jqueryui.com/demos/autocomplete/, specifically the custom data demo.

    I imagine the code something like this (note this is untested and definitely not complete for your purposes):

    <head>
    <script type='text/javascript'>
    var urls = [
       {
          value: "url-text",
          label: "URL Text",
          desc: "URL"
       },
       {
          value: "url2-text",
          label: "URL2 Text",
          desc: "URL2"
       }
    ];
    
    $('#search').autocomplete({
       minLength: 0,
       source: urls,
       focus: function (event, ui) {
          $('#search').val(ui.item.label);
          return false;
       },
       select: function (event, ui) {
          $('#search').val(ui.item.label);
          $('#url').val(ui.item.desc);
          return false;
       }
    })
    .data ("autocomplete")._renderItem= function(ul,item) {
       return $('<li></li>")
          .data( 'item.autocomplete', item )
          .append( '<a>' + item.label + '<br />' + item.desc + '&lt/a>' )
          .appendTo( ul );
    };
    
    
    </script>
    </head>
    <body>
    <input id="search" />
    <p id='url'></p>
    </body>
    

    Doing it this way does mean you have to keep a separate list of URLs and text in a javascript variable.

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

Sidebar

Related Questions

I have to preface this with the fact that I love jQuery as a
I'll preface this question with the note that I have looked at this similar
Let me preface this question with first stating that I'm new to GUI interfaces:
I will preface this question with the disclaimer that I know there are many
Let me preface this by saying I am extremely new to git but have
I will preface the question by saying that I am somewhat new to the
I will preface this question by saying, I do not think it is solvable.
I will preface this by I am new to XNA and I realize what
Let me preface this question by stating that I'm not a C# developer. I'm
This is a C# winforms app. Preface: I am creating a form that will

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.