Select Categories Below
Status: Closed Points: 25 Time: 06:24 - Sep 27, 2007
shashi.programmer
i have create a row in which 4 colum two of them is drop down one is date and last one is browse a file to upload. now i need that when i click a button this should add new row with same controls. <table> <tr> <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif">HSP</font></td> <td> <select name="hname"> <option value="">HSP</option> </select> </td> <td> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Report Type: </font></td> <td> <select name="rname1"> <option value="">Report Type</option> </select> </td> <td> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Date of Report: </font></td> <td> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Upload File: </font></td> <td><input name="uploaded" type="file" /></td> <td><input name="add" type="submit" value="Add New Record" /></td> </tr> </table> on click over add new record button the complete table should be created in second row thanks & regards Shashidhar Kumar
Categories:
Add Categories
When adding more than one category, separate them with commas.
Advertisement
jgivoni
Date:: Oct 19, 2007
Time:: 11:42
You could try something like this: Change the first lines to: <table> <tr id="record"> ... Change the button to: <input name="add" type="button" value="Add New Record" onclick="addNewRecord()"/> Add this javascript function somewhere: function addNewRecord() { var record = document.getElementById("record"); var no = record.childNodes.length; var newRecord = record.cloneNode(true); newRecord.id = "record" + no; newRecord.value = ""; newRecord.name = "uploaded" + no; record.parentNode.appendChild(newRecord); }
Date:: Oct 29, 2007
Time:: 23:35
not sufficient
Time:: 23:36
i have done it
Date:: Oct 30, 2007
Time:: 01:57
What? You need more help? If so please specify.
internisti007
Date:: Dec 13, 2007
Time:: 21:22
It's cool. Btw,how delete record with on click
Question Answered
This question has been closed, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for the Summary Area.
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
hover gallery.
How long does Google and MSN store emails that can...
Does the United States Government have a CIO posit...
How do you turn off the signature option in the ad...
audio quality- when playing music/video's, the sou...
Thanks for your reply. Where are you located? Whic...
You have 100 characters to use
Rank
Expert
Points
1.
10
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software Real Estate Postcards Marketing Fulfillment