hi there guys! how can i add textbox using button? i know that it can be done using javascript but i was required to use php. Is it possible to do it in php? thanks
Recommended Answers
Jump to Postfor this to work in php you would need to get the page to reload/refresh.
personally, if i ever wanted to do something like this i'd use Javascript. I'd more than likely use the Jquery Javascript framework to do it.
Jump to PostAs I see it you have 3 options, in my opinion these are order worst to best solution.
1. On clicking the button transfer to the same/differnt page, which handles adding the textbox based on GET/POST paramaters and using the $_SESSION variable to hold stuff.
2. Make an …
All 6 Replies
phper
9
Posting Whiz in Training
opmrcrab
5
Newbie Poster
karin21
0
Newbie Poster
opmrcrab
5
Newbie Poster
almostbob
866
Retired: passive income ROCKS
melodangdang
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.