Hello to all,
I want to asked you something about variable in javascript. I don't know whether it is possible or not, but I want to set a given variable in javascript as per reference. It means I want to do like, If I pass a string to the function addstring, then the value of the textfield has to be added like +=. Can any one tell me how to pass Variables By Reference in Javascript?
Please help me.Thank you.Code:function addstrings(string) { document.getsElementsByIds("strings").values = string; }
Bookmarks