Unanswered GetElementbyId(...) is null or not an Object

  • Monday, July 13, 2009 2:31 PM
     
     

    hi...
    could any one help me to set a value into hidden textbox html.
    i use syntak below... at first it s work the value is in into textbox
    but after i made in masterpage..(contentholder) the error was
    GetElementbyId(...) is null or not an Object


    function

    startEdit()

    {

     

    document.getElementById("edHidden").value = "Editing";

     

    }

    <

    input id="edHidden" runat="server" type="text" enableviewstate="true" />

     

    <input id="btnStartEdit" type="button" value="Start Edit" onclick="startEdit()" disabled="disabled" />



    any one can help me please

All Replies

  • Monday, March 29, 2010 9:08 PM
     
     

    document.getElementById

    is missing a '.'

    You have documentgetElementById

  • Tuesday, June 08, 2010 6:40 AM
     
     
    Sorry, I am a new comer and I still can't understand it. Could you please explain it more detailedly?
    What video format can I play on PSP Go?