Help following up this

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
miguelmbm
Forum Newbie
Posts: 2
Joined: Tue Aug 18, 2009 10:13 am

Help following up this

Post by miguelmbm »

Hi, I have this code <? $DP->DateSelector('startdate',null,'enddate',true,'starthour','startmin',null,null);?>, and when seen rendered through the browser becomes this: <input type="button" onclick='displayDatePicker("startdate")' value="..."/>.
I need then to get to value property, but have no idea on getting there...
Thanks for your help.
Miguel
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Help following up this

Post by jackpf »

What?? What's $DP?

And what do you mean...you want to specify a value for the input?
miguelmbm
Forum Newbie
Posts: 2
Joined: Tue Aug 18, 2009 10:13 am

Re: Help following up this

Post by miguelmbm »

That is the code that goes in the button to open a calendar to select dates. At the moment the button have ... (value="...", as seen through the browser rendering) and I would like to replace it for a calendar image but how to get there? $DP may be calling some js file?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Help following up this

Post by jackpf »

How would I know? I have absolutely no idea what the $DP object is. You need to post more code.
Post Reply