Question : setting month and year in jquery monthpicker plugin

Hello,

How to initialize arguments for this plugin from parameters passed to my php scrip ?

$("#example_2").monthpicker("1995-12",callback);   This is how it is done staticly

Answer : setting month and year in jquery monthpicker plugin

$("#example_1").monthpicker(("<%=$_REQUEST['bar']%>",callback);
-->
$("#example_1").monthpicker("<%=$_REQUEST['bar']%>",callback);
Random Solutions  
 
programming4us programming4us