Good day, can you please help me how to add textbox dynamically and insert its value to database. I tried Javascript in adding textbox, but how can I insert its value?? Thank You!
bLuEmEzzy
0
Junior Poster in Training
Recommended Answers
Jump to PostTake a look at this other daniweb thread.
http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/467834/auto-calculate
This thread includes sample code and a link to a demo, at least with regard to the creation of the text boxes.
Jump to PostOK I take it that you're not experienced with mysql or php?
First off you'll need to give the added textbox a name attribute, otherwise the value will not be picked up via GET or POST - whichever you're using. Try running this and you'll understand why:
All 7 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
bLuEmEzzy
0
Junior Poster in Training
diafol
bLuEmEzzy
0
Junior Poster in Training
diafol
bLuEmEzzy
0
Junior Poster in Training
bLuEmEzzy
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.