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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:42:07+00:00 2026-05-24T15:42:07+00:00

i have two text type forms(id,name) and another form dropbox type(school name)(select option type).

  • 0

i have two text type forms(id,name) and another form dropbox type(school name)(select option type).

when user enters the id form, the remaining form (name) and the drop box(school name) needs to be filled based on the values in mysql.

filling form text type (name) is not a problem which i am able to do using json and jquery ,but i do not know how to auto select the dropbox.

any tutorials or code snippets suggestions are appreciated.

  • 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-24T15:42:08+00:00Added an answer on May 24, 2026 at 3:42 pm

    if your drop box is in xhtml, you can use the “selected” param.

    with jquery, you could write semething like :

    $("#optiontoSelect").attr("selected","selected");
    

    More info in the jquery doc

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

Sidebar

Related Questions

i have two text inputs like the following, i don't want to use <form>
I have a login form for my website. This login form have two text
I have a form input consisting of two radiobuttons, for one name, as below:
I have two text boxes t1 and t2 in an html page. I'd like
I have two text files that contain columnar data of the variety position -
I have two text fields in my view. I did it using IB. My
I have two text files, I want to place a text in the middle
I currently have two text boxes which accept any number. I have a text
I'm using NHibernate 2.1.2 and Spring 1.3 I have two Text columns (blobs) in
Hey everybody, this is what I have going on. I have two text files.

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.