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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:44:01+00:00 2026-06-01T11:44:01+00:00

I have a Jsfiddle application here . If you type in a question in

  • 0

I have a Jsfiddle application here. If you type in a question in the textarea, and then click on the “Add Question” button, it appends the question and a question number in the table below (you can teest this a couple of times if you wish).

Now below the table is a file input which is stored in another form. My question is that how can I put the form code which contains the file input in the table so that everytime a question is added, it appends the question number and question but it also appends the file input for each row?

  • 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-01T11:44:02+00:00Added an answer on June 1, 2026 at 11:44 am

    You can do it the same way you have been doing it. Just remember to change these lines accordingly to whatever you expect at server side such as file input’s name.

    var $image = $("<td class='image'></td>"); 
    var $fileImage = '<p id="f1_upload_form"><br/><label>File: <input name="fileImage" type="file" id="fileImage" /></label></p>';
    $image.append($fileImage);
    $tr.append($image);
    

    Now you just need to move the upload button to the bottom of the table still inside the form wrapping the table.

    Here is a working jsfiddle.

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

Sidebar

Related Questions

I have this code : http://jsfiddle.net/VAkLn/6/ When i add a table : http://jsfiddle.net/VAkLn/7/ this
I have a jsfiddle application which you can access here . Now when you
I have a jsfiddle application here and I have a problem when it comes
I have small application: http://jsfiddle.net/Bwdf6/4/ But with click on delete, tags that created after
I have a jsfiddle here . What happens is that if you select a
I have created a jsfiddle of my problem. Here is a link to the
Have a look at this jsfiddle: http://jsfiddle.net/Dh96F/1/ The Expand button will animate the widening
I am developing a mobile application and I have a click function in jQuery
I have a jsFiddle setup to where you will be able to click on
In this fiddle http://jsfiddle.net/5L8Q8/28/ , if you click the black button, it randomly selects

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.