Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function go(val){
- var url = document.getElementById('url')
- document.getElementById("output").innerHTML = url.value;
- var protocol = url.substr(1, 4);
- document.getElementById("output2").innerHTML = protocol.value;
- }
Add Comment
Please, Sign In to add comment