Click here to Skip to main content
15,912,457 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have the code of iframe which will be stored in the body tag i.e

<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="/approot/Datepicker/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"><br />
</iframe>


and then i want to call the date with the code in the javascript such as

<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.formbean.property);return false;" ><img name="popcal" align="absmiddle" src="/approot/Datepicker/calbtn.gif" width="34" height="22" border="0" alt=""></a>

but i am not able to view the calendar when pressing the icon
pls help me

I am Using JSP with Javascript

if any other way to view pls give me the code or suggest me what to do

For Further details

I had a dynamically incremented textbox using javascript insertRow() function so i want a calendar icon beside that and when i click on that icon it must show the calendar and after selecting the date it must print it on the textbox
then i want to pass that data to the database.
Posted
Updated 13-Apr-10 18:35pm
v4

1 solution

If you're using ASP.Net, the 'basic date picker' is quite a nice control - Free.

http://www.basicdatepicker.com/[^]

jQuery has some nice implementations of calendar controls

http://www.eyecon.ro/datepicker/[^]

I quite like the jQuery UI Datepicker

http://jqueryui.com/demos/datepicker/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900