Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I used a datepicker plugin jquery.I want when hppen focus event on some element the date picker plugin had remove.
Posted

1 solution

The concept of "killing" in inapplicable to those plug-ins. This is not an installed service taking up some amount of memory, or something like that. Javascript is based on automatic memory management. If some object eventually becomes inaccessible, the host will eventually reclaim the memory.

If you mean something else, such as removing some element from the page, ask about it. But generally, it's nothing more than removing some element from HTML DOM. With jQuery, this is all described here:
http://api.jquery.com/category/manipulation[^],
http://api.jquery.com/category/manipulation/dom-removal/[^].

—SA
 
Share this answer
 
Comments
Maciej Los 4-Dec-14 16:17pm    
+5
Sergey Alexandrovich Kryukov 4-Dec-14 17:08pm    
Thank you, Maciej.
—SA
Member 10104625 5-Dec-14 3:40am    
Thank you for take a time for answer my question.
I used DatePicker plugin and I want use two type of language (english and persian) but the plugin does not support persian so I add a another plugin for edit date picker plugin JQueryUI so i could not have been both of them at the time.If I remove DatePickerPersian plugin, english is working else is not.
What do I do?
Sergey Alexandrovich Kryukov 5-Dec-14 12:49pm    
The question is: is it possible that your user would want to switch between Persian and Western calendar? I would say, it's possible. So I would have both, hiding one of them, showing one at a time. How about that?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900