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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:03:21+00:00 2026-05-25T12:03:21+00:00

Any recommendation or better a good script to add/remove items from a list and

  • 0

Any recommendation or better a good script to add/remove items from a list and then saving the changes to MySQL?

Here is the think, in my web page I ask my users how many languages do they speak, I have a textfield and a add button, any time the user hits add, the language written in the textfield has to appear in a list, and it also needs to be removable. When the user finish the work, he hits a send button that do a simple POST/GET action to a PHP script.

This is 90% front-end work, and I’m not a front-end developer (I’m a PHP dev). I know that using some JavaScript/jQuery this can be done, but I don’t have any idea of how to handle this.

I tried for a long time, searching some tutorials on internet, but I didn’t find anything good. So, if you can provide me some help/tutorial/script I will appreciate it.

  • 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-25T12:03:21+00:00Added an answer on May 25, 2026 at 12:03 pm

    You don’t really need ajax for this if you are adding the languages all in one go. You can just add hidden form fields to a list when the user clicks the add button and then remove them if they click remove. This will make the interface much more responsive as well. I threw together a quick example here:

    http://jsfiddle.net/wnFsE/

    There really isn’t much to the code to accomplish your goal.

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

Sidebar

Related Questions

Any recommendation of a Fax server to use in Windows? Looking for good API
What is your recommendation of writing a web crawler in Ruby? Any lib better
There is any recommendation where is the better place to store the SQL codes?
any recommendation on which company providing scalable bosh hosting? p/s: is there exist any
Is there any recommendation against using this CTP? Is it unstable?
Recently I need to make a chart of employees' workload.Any recommendation? Thanks.
Are there any good recommendations anyone can provide for a good Javascript editor on
I am aware of this recommendation How to send money to any paypal account
I've been scouring the SO board and google and can't find any really good
Anyone have any recommendations on a good book to improve my T-SQL kung fu?

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.