Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Php copy text from input to another
Name: ian_ok Date: March 5, 2005 at 07:20:32 Pacific OS: win xp 98 & 2k CPU/Ram: p3 512
Comment:
Is there any PHP code that will let a user click a button and it will copy the contents of a input field form to another input field?
Name: fambi Date: March 6, 2005 at 08:52:38 Pacific
Reply:
Yep, it's very important to understand the difference between server-side and client-side scripting.
If you want things to happen on the web-browser (as described) as an immediate result of something else that has happened on the web-browser, you need client-side scripting (i.e. javascripts)
If you're interested in SMS, visit my wife's site .
0
Response Number 3
Name: ian_ok Date: March 6, 2005 at 12:35:49 Pacific
Reply:
Thanks for that, I knew about java being able to do it, but the code given will help me lots.
Was more keen to stay away from java, but seeing that it is only a form for webmasters to add a link to my site, they will 90% have java enabled or at least know hot to enable it!
Thank once again.
Ian
0
Response Number 4
Name: Don Arnett Date: March 6, 2005 at 16:36:16 Pacific
Reply:
small point:
java is not the same thing as javascript
two very different languages with different purposes
0
Response Number 5
Name: ian_ok Date: March 24, 2005 at 07:05:37 Pacific
Reply:
Yes, cheers for that Don....
Now I think about it, you are spot on.....meant to say Javascript!
Summary: ok, that was a lot of what i was looking for, but a little too indepth. i just need a copy and paste type of thing. yours did copy, but it copied EVERYTHING. what im trying to do is copy all of the co...
Summary: Hi everyone. I have the following problem: I'd like to include a basic little news section on my site for which i'd like to read out a text file and have that text displayed on my html page. The reaso...
Summary: Hi There I need to get a script which will perform the following task for me: Copy a specific table from one website, which refreshes every five minutes, to another web site. The table on the second s...