Error # 1:
Line 32 should be:
Code: Select all
string setStart = "startPicker.value = '{0}';"; // Remove two extra parentheses before the first semicolon.
Code: Select all
string setStart = "startPicker.value = '{0}'));";
Error #2:
Line 34 should be:
Code: Select all
string clearStart = "startPicker.value = '';"; // Add semicolon between the second single quote and the double quote.
Code: Select all
string clearStart = "startPicker.value = ''";