Forum Moderators: open
<input id="src" size="24" onkeyup="mimicValue('src','dest')" />
<input id="dest" size="24" disabled="true" />
<script>
function mimicValue(src,dest){
var s = document.getElementById(src);
var d = document.getElementById(dest);
d.value=s.value;
}
</script>
One more question on this issue:
How can I omit special phrases from the duplicated content?
My first filed is a url field I want the second filed to be only the domain name so I have to omit "http://" , "www." , ".com" ".net" ".org"
It couldn't simply remove the strings 'http://', 'www.', and all variations of '.TLD' because the real hostname could have those in it as legitimate subdomains. The most immediate example I can think of is news.com.com but I'm sure there are others.