how to update values in HTML page using jav script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shaji66
    New Member
    • Aug 2007
    • 1

    how to update values in HTML page using jav script

    how to update values in HTML page using java script:

    hi all ,
    I want to update some text fields in html , and display these values in another page ....


    can you please help me in writing java script

    can you please post code for it or give me perticular sites that can help me...
    thank you in advance...
    Last edited by shaji66; Aug 14 '07, 06:37 AM. Reason: just
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Show your HTML code (using HTML code tags).

    To update a text field, you access the element and change the value property to the new value, e.g.
    [CODE=javascript]document.getEle mentById("textf ieldID").value = "new value";[/CODE]

    Comment

    Working...