+
+
+ $('selDate').innerHTML=parameter;
+
+
+
+Client Side Selected date :
+
+
+
+
+
+ $('selDate2').innerHTML=parameter;
+
+
+
+Client Side Selected date :
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket785.php b/tests/FunctionalTests/tickets/protected/pages/Ticket785.php
new file mode 100644
index 00000000..91ba918d
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket785.php
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket785TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket785TestCase.php
new file mode 100644
index 00000000..53851f7a
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket785TestCase.php
@@ -0,0 +1,33 @@
+open('tickets/index.php?page=Ticket785');
+ $this->assertTitle("Verifying Ticket 785");
+
+ $this->assertText('selDate', '');
+ $this->select($base."datePicker_year", "2007");
+ $this->pause(800);
+ $expectedDate=date("d-m").'-2007';
+ $this->assertText('selDate', $expectedDate);
+
+ $this->click($base."datePickerbutton");
+ $this->pause(800);
+ $this->click("css=input.todayButton");
+ $this->pause(800);
+ $this->clickAt("css=body","0,0"); // Hide calendar
+ $expectedDate=date("d-m-Y");
+ $this->assertText('selDate', $expectedDate);
+
+ $this->assertText('selDate2', '');
+ $this->type($base.'datePicker2', '12/05/2006');
+ $this->pause(800);
+ $this->clickAt("css=body","0,0");
+ $this->assertText('selDate2', '12/05/2006');
+
+ }
+
+}
+?>
\ No newline at end of file
--
cgit v1.2.3