www.webdeveloper.com
Results 1 to 2 of 2

Thread: Not a function?

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Posts
    3

    Question Not a function?

    Please help,

    I am using this MooTools datepicker: http://www.styledisplay.com/mootoolsdatepicker/ but with the latest MooTools version: MooTools 1.4.5

    I click on my textbox and select a date but the calendar stays on the screen and I cannot see my submit button.

    my FireFox console gave the following error:

    TypeError: dp.container.remove is not a function

    else if (dp.container) dp.container.remove();


    here is the relevant Javascript code:
    Code:
    /* Remove the calendar from the page */
    	remove: function(dp){
    		$clear(dp.interval);
    		dp.active = false;
    		if (window.opera) dp.container.empty();
    		else if (dp.container) dp.container.remove();
    		dp.calendar = false;
    		dp.container = false;
    		$$('select.dp_hide').removeClass('dp_hide');
    	}

  2. #2
    Join Date
    Jan 2013
    Posts
    3
    is anyone able to help me here?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles