180371/jquery-ui-datepicker-to-show-month-year-only
Here's a hack (updated with entire .html file):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script> <link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css"> <script type="text/javascript"> $(function() { $('.date-picker').datepicker( { changeMonth: true, changeYear: true, showButtonPanel: true, dateFormat: 'MM yy', onClose: function(dateText, inst) { $(this).datepicker('setDate', new Date(inst.selectedYear, inst.selectedMonth, 1)); } }); }); </script> <style> .ui-datepicker-calendar { display: none; } </style> </head> <body> <label for="startDate">Date :</label> <input name="startDate" id="startDate" class="date-picker" /> </body> </html>
Hii, Add a alias in webpack config: resolve: { ...READ MORE
Hii, I found this worked for me in the end ...READ MORE
Hello, Try out the code using jQuery Promise object: $("#dialog").dialog({ ...READ MORE
Hello @kartik, You should try doing something like ...READ MORE
Hii @kartik, What I did is that I allow multiple ...READ MORE
Hello @kartik, If you need to get the ...READ MORE
Hello @kartik, You can use: function form_to_json (selector) { ...READ MORE
Hello Kartik, There isn't one built in but ...READ MORE
The "$(...).datepicker is not a function" jQuery ...READ MORE
Edit your SVG file, add fill="currentColor" to ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.