function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srvas137srvas137 

display date in text box when i click button

if i click a button in a visualforce page that will open a pop up for selecting date when click a date in popup that date is display in a text box automatically and popup will be closed after selecting a date

HariDineshHariDinesh

Hi,

 

This you can achieve with VFP and Apex Controller which need bit coding and Effort.

You can use 

 

"window.open" or "window.showModalDialog" functions in JS for poping a window.

 

Below Links will help you to implement this

 

http://www.tehnrd.com/visualforce-pop-up/

http://bobbuzzard.blogspot.in/2010/09/visualforce-lookup.html

http://www.forcetree.com/2010/06/visualforce-popup-window-pass.html

 

Please have a try and post if you face any difficulties.