Let's say there are three buttons and one big text box. If I click the first button, some certain info is copied in the text box etc. Is that possible?
2 simple methods: - document.form_name.name_of_inutbox.value = 'info'; - document.getElementById('id_of_inputbox').value = 'info'; Free JavaScript Code | HTML-JS-CSS Encoding | CSS Menus
What do you think about this? Let's say from your example, I replace the 'info' with a php variable that is for example $lala = "info"; it works that way, but if it contains line breaks, it doesn't: $lala = "info more info"; why is that?