NetTalk Central
NetTalk Web Server => Web Server - Share Knowledge => Topic started by: lanmicro on July 25, 2011, 01:48:48 PM
-
! Start of "Set jQuery Date Options"
! [Priority 5000]
loc:options = choose( loc:options='', '', clip( loc:options ) & ',' ) & 'numberOfMonths: 3,changeMonth: true,changeYear: true'
! End of "Set jQuery Date Options"
packet = clip(packet) & p_web.CreateDateInput ('FUSE:DateJoined',p_web.GetSessionValue('FUSE:DateJoined'),loc:fieldclass,loc:readonly,,,loc:javascript,loc:options,loc:extra,,,,,,0)
do SendPacket
My code in red above does not change the properties of the datepicker. What might I be doing incorrectly?
-
NetTalk 5.29
-
All looks good to me.
Are you sure you're running this code?
Inspect the page with FireBug, and see the <script> which is setting the date picker button, and see if these options are set.
I'm guessing the most likely reason is that you're changing this in one place, but that's not the place you're testing. (I do that fairly regularly).
cheers
Bruce
-
Hi Bruce,
Good call. That fixed it.