Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    JS function that replace value of a div by another value

    Hello everyone,
    I am getting difficulties in writing a js function:
    " function replace(divId,argValue) " which take parameters id and value.The work of this function is that it should replace the value of a div(Known by it's id) by the argValue. Can anyone please help me.Thank you in advance.

  • #2
    Senior Coder
    Join Date
    Dec 2010
    Posts
    2,395
    Thanks
    12
    Thanked 569 Times in 562 Posts
    What have you tried?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •