seabaz2000
IS-IT--Management
Hi
I am attempting to use the innerText function to place a value in a certain label on my website.
Here is the code:
What is happening is that the text "this.form.orderdate.value" is being outputted by the label instead of the value for the date.
Regards
I am attempting to use the innerText function to place a value in a certain label on my website.
Here is the code:
Code:
<script language="javascript" src="calendarDateInput.js"> </script>
<script>DateInput('orderdate', true, 'DD-MON-YYYY')</script><input type="button" onClick="ctl00_ContentPlaceHolder1_WebPartManager1_ProcessDataProvider_LabelStart.innerText='(this.form.orderdate.value)'" value="Select";>
Regards