1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

cfinput datefield problems...

Discussion in 'Programming' started by KrakaJap, Jan 28, 2011.

  1. #1
    This is my code, all by itself on a single page:

    
    <cfform name="TestForm" method="post" action="">
    	<cfinput type="datefield" name="testDate">
    </cfform>
    
    Code (markup):
    It brings up the form field, but as you can see, the calendar icon next to it doesn't work. Nor does the javascript work to bring up a calendar for choosing the date.

    [​IMG]

    The funny part is that this exact same code works elsewhere on the same web server. For instance: if I move up to the parent directory it works fine. :confused::confused::confused:

    Any ideas?
     
    KrakaJap, Jan 28, 2011 IP
  2. cfStarlight

    cfStarlight Peon

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Looks like some kindof path problem. But usually it either works 100% or fails 100%. View the page source. You'll see all the source file links at the top of the page. All the js/ajax stuff is located in /cfide. What's the path of the parent directory? Any reason the files might be visible from there but not a subdirectory?
     
    cfStarlight, Feb 9, 2011 IP
  3. pizzaandsoup

    pizzaandsoup Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you might want to use jqueryui to help you with that. I use it all the time and find it really useful. jqueryui.com
     
    pizzaandsoup, Feb 20, 2011 IP
  4. prptl709

    prptl709 Guest

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry I don't know how to do it in javascript.
     
    prptl709, Feb 25, 2011 IP