5 Replies - 1116 Views - Last Post: 06 June 2009 - 02:26 PM

#1 kunkka  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 99
  • Joined: 15-May 09

i want to select a date and insert in to the text field

Posted 06 June 2009 - 05:06 AM

<script LANGUAGE="Javascript" SRC="/javascript/calendarpopup/combined-compact/CalendarPopup.js"></SCRIPT>
<script LANGUAGE="Javascript">
var cal = new CalendarPopup();
</SCRIPT>




<FORM NAME="example">
(View Source of this page to see the example code)<br>

<INPUT TYPE="text" NAME="date1" VALUE="" SIZE=25>
<A HREF="#"
onclick="cal.select(document.forms['example'].date1,'anchor1','MM/dd/yyyy'); return false;"
NAME="anchor1" ID="anchor1">select</A>
</FORM>



this two codes i took from a script site. i want to select a date and put it to the text field and then it will save it to the database when i submit...

pls help me

Is This A Good Question/Topic? 0
  • +

Replies To: i want to select a date and insert in to the text field

#2 roudard  Icon User is offline

  • D.I.C Head

Reputation: 17
  • View blog
  • Posts: 143
  • Joined: 26-September 05

Re: i want to select a date and insert in to the text field

Posted 06 June 2009 - 07:06 AM

Hey do you have more info in the CalendarPopup class ?
without this.. i'm afraid, it's quite difficult to give you any sort of coherent response ...

don't forget to use the [ code] tags :D
Was This Post Helpful? 0
  • +
  • -

#3 kunkka  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 99
  • Joined: 15-May 09

Re: i want to select a date and insert in to the text field

Posted 06 June 2009 - 07:12 AM

sorry... i couldnt use the code...

btw CalenderPopup.js isnt it a buitin script :S
Was This Post Helpful? 0
  • +
  • -

#4 Wimpy  Icon User is offline

  • R.I.P. ( Really Intelligent Person, right? )
  • member icon

Reputation: 159
  • View blog
  • Posts: 1,038
  • Joined: 02-May 09

Re: i want to select a date and insert in to the text field

Posted 06 June 2009 - 07:40 AM

No it's not a built in script...

View Postkunkka, on 6 Jun, 2009 - 04:12 PM, said:

sorry... i couldnt use the code...

btw CalenderPopup.js isnt it a buitin script :S

Was This Post Helpful? 0
  • +
  • -

#5 roudard  Icon User is offline

  • D.I.C Head

Reputation: 17
  • View blog
  • Posts: 143
  • Joined: 26-September 05

Re: i want to select a date and insert in to the text field

Posted 06 June 2009 - 10:33 AM

View PostWimpy, on 6 Jun, 2009 - 06:40 AM, said:

No it's not a built in script...

View Postkunkka, on 6 Jun, 2009 - 04:12 PM, said:

sorry... i couldnt use the code...

btw CalenderPopup.js isnt it a buitin script :S

Hence my question :D
Was This Post Helpful? 0
  • +
  • -

#6 Wimpy  Icon User is offline

  • R.I.P. ( Really Intelligent Person, right? )
  • member icon

Reputation: 159
  • View blog
  • Posts: 1,038
  • Joined: 02-May 09

Re: i want to select a date and insert in to the text field

Posted 06 June 2009 - 02:26 PM

Hehe :P

View Postroudard, on 6 Jun, 2009 - 07:33 PM, said:

View PostWimpy, on 6 Jun, 2009 - 06:40 AM, said:

No it's not a built in script...

View Postkunkka, on 6 Jun, 2009 - 04:12 PM, said:

sorry... i couldnt use the code...

btw CalenderPopup.js isnt it a buitin script :S

Hence my question :D

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1