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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:45:05+00:00 2026-06-10T18:45:05+00:00

I am making a file uploader. I am trying to make it so that

  • 0

I am making a file uploader. I am trying to make it so that when one input field is filled it creates a new input field. My issue is in binding the event handler to dynamically created elements. My code can be found at the following URL: http://jsfiddle.net/sJ5Az/

If you look in the scripts section at the line indicated, the issue is that the event handler is not actually set here. It does not produce any visible errors or console errors.

  • 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-10T18:45:06+00:00Added an answer on June 10, 2026 at 6:45 pm

    ok just try this . i have updated your js fiddle http://jsfiddle.net/sJ5Az/5/

    You have to use the jquery live event that Attach an event handler for all elements which match the current selector, now and in the future.

    Ref site:
    Jquery live event


    Update


    Live is depreciated so now on function will work as live
    here is the link for ref

    this question is updated accordingly to on function
    here is the demo http://jsfiddle.net/sJ5Az/6/

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

Sidebar

Related Questions

I'm making a php file that will run an event after five minutes have
I am making file input boxes through a javascrpit function, if the user wants
Iam making an app which has one index.php file. I also have these other
I am making a POST to another php file that I want to render
I am making a program that automates the seperation of a csv file. We
I am making use of Andrew Valums awesome AJAX file uploader. I am having
I am making an application that allows users to upload a file in a
I'm trying to implement this method of making a nice form upload: www.kavoir.com/2009/02/styling-file-upload-select-input-control-input-typefile.html/ which
I am making my first file uploader jquery plugin (in coffeescript): $.fn.uploadable = (opts={})
I have the following code that uploads the file to the server by making

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.