Skip to main content
added 152 characters in body
Source Link

This post Populate Query String to new form helped me.

Credit also goes to this https://stackoverflow.com/questions/807878/javascript-that-executes-after-page-load

    <script type="text/javascript">
    
    // this line works for chrome only   window.addEventListener("load", function(){
        //....
    document.onreadystatechange = function(){
    if(document.readyState === 'complete'){
    
    var URL= String(window.location.href);
    //URL.substring(URL.indexOf("=")+1,URL.length)
    alert(URL.substring(URL.indexOf("=")+1,URL.length));
    document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").value = URL.substring(URL.indexOf("=")+1,URL.length); 

document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").disabled = true;
    }
    }
    </script>

This post Populate Query String to new form helped me.

Credit also goes to this https://stackoverflow.com/questions/807878/javascript-that-executes-after-page-load

<script type="text/javascript">

// this line works for chrome only   window.addEventListener("load", function(){
    //....
document.onreadystatechange = function(){
if(document.readyState === 'complete'){

var URL= String(window.location.href);
//URL.substring(URL.indexOf("=")+1,URL.length)
alert(URL.substring(URL.indexOf("=")+1,URL.length));
document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").value = URL.substring(URL.indexOf("=")+1,URL.length);
}
}
</script>

This post Populate Query String to new form helped me.

Credit also goes to this https://stackoverflow.com/questions/807878/javascript-that-executes-after-page-load

    <script type="text/javascript">
    
    // this line works for chrome only   window.addEventListener("load", function(){
        //....
    document.onreadystatechange = function(){
    if(document.readyState === 'complete'){
    
    var URL= String(window.location.href);
    //URL.substring(URL.indexOf("=")+1,URL.length)
    alert(URL.substring(URL.indexOf("=")+1,URL.length));
    document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").value = URL.substring(URL.indexOf("=")+1,URL.length); 

document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").disabled = true;
    }
    }
    </script>
added 111 characters in body
Source Link

This post Populate Query String to new form helped me.

Credit also goes to this https://stackoverflow.com/questions/807878/javascript-that-executes-after-page-load

<script type="text/javascript">

// this line works for chrome only   window.addEventListener("load", function(){
    //....
document.onreadystatechange = function(){
if(document.readyState === 'complete'){

var URL= String(window.location.href);
//URL.substring(URL.indexOf("=")+1,URL.length)
alert(URL.substring(URL.indexOf("=")+1,URL.length));
document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").value = URL.substring(URL.indexOf("=")+1,URL.length);
}
}
</script>

This post Populate Query String to new form helped me.

<script type="text/javascript">

// this line works for chrome only   window.addEventListener("load", function(){
    //....
document.onreadystatechange = function(){
if(document.readyState === 'complete'){

var URL= String(window.location.href);
//URL.substring(URL.indexOf("=")+1,URL.length)
alert(URL.substring(URL.indexOf("=")+1,URL.length));
document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").value = URL.substring(URL.indexOf("=")+1,URL.length);
}
}
</script>

This post Populate Query String to new form helped me.

Credit also goes to this https://stackoverflow.com/questions/807878/javascript-that-executes-after-page-load

<script type="text/javascript">

// this line works for chrome only   window.addEventListener("load", function(){
    //....
document.onreadystatechange = function(){
if(document.readyState === 'complete'){

var URL= String(window.location.href);
//URL.substring(URL.indexOf("=")+1,URL.length)
alert(URL.substring(URL.indexOf("=")+1,URL.length));
document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").value = URL.substring(URL.indexOf("=")+1,URL.length);
}
}
</script>
Source Link

This post Populate Query String to new form helped me.

<script type="text/javascript">

// this line works for chrome only   window.addEventListener("load", function(){
    //....
document.onreadystatechange = function(){
if(document.readyState === 'complete'){

var URL= String(window.location.href);
//URL.substring(URL.indexOf("=")+1,URL.length)
alert(URL.substring(URL.indexOf("=")+1,URL.length));
document.getElementById("ctl00_m_g_a8ed3c5c_7048_43bd_b68a_52ec97ab99af_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField").value = URL.substring(URL.indexOf("=")+1,URL.length);
}
}
</script>