Hi, I try copy text for one, to second input, but thats all what I can invent:
<HTML> <HEAD> <script src="prototype.js"></script> <script> function copyText() { var t = $F('Title'); var l = t.gsub(' ', '_'); var change = $F('Link').update( l ); d.innerHTML; } </script> </HEAD> <BODY> <input type="text" id="Title" value="Title Title title"><br> <input type="text" id="Link" value=""><br> <input type="button" value="copy" onclick="copyText();"><br> </BODY> </HTML> But it doesnt work. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---