Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getCookie(e){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var i=o[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}
- document.getElementsByName("Phone")[0].value=getCookie("phone_numb");document.getElementsByName("ObjectTitle")[0].value=getCookie("obj_title");
Add Comment
Please, Sign In to add comment