Hi all, I am using some code as below to write to a textarea box on my page
I have a text box on the page and I need to put its entry into the output within the code above!Code:function AddnotificationComm1 (formObj) { document.getElementById("showCode2").value="Line has failed, Jenbo have been informed and will attend on" }
The textbox is called "Comm1Lineno" so my code would look something like this but with the correct syntax -
"Comm1LineNo" is a text box in the notifications form.Code:function AddnotificationComm1 (formObj) { document.getElementById("showCode2").value="Line "Comm1Lineno" has failed, Jenbo have been informed and will attend on" }
I am used to Vb and have tried a few things here but cant get it in.
I appreciate your help with this - Many Thanks
Rob



Reply With Quote

Bookmarks