View Full Version : JS function that replace value of a div by another value

09-26-2012, 10:02 AM
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.

09-26-2012, 10:05 AM
What have you tried?