trying to get the value of php into javascript -
i If I'm the same I use yearreange : For example, my $ dateyearrange = 2001 then should be yearRange: 'dateyearrange: +0' yearRange: ' 2001: +0 ' but I can not seem to work it Edit: The problem in my code is in the year :(' dateyearrange: +0 ') < / Code>
& lt ;? Php $ dateyear? & Gt; If the code will be executed, then the code will not be executed because if I use the yearRange: dateyearrange , then the output on the exchange is only 2001 that the code is working properly. So the problem in my code is in year: what i need yearrange 2001: +0 Edit 2: (Solution):
yearRange: & lt ;; Php echo $ date year? & Gt ;: + 0 " and deleted var dateyearrange ="
& lt ;? Php $ date Era = date (" Y ", strtotime ($ Date Date)); & gt; Var dateminimum = & php $ $ datebirth;? & Gt; Gt;; Var dateyearrange = & lt ;? php echo $ dateyear? & Gt; $ (function () ($ ("(#datepicker)") ($ minDate: dateminimum, maxDate: '0', year limitation: ( 'Date-time-limit: +0'), date format: "yy-mm-dd", transcript: true, change year: true});});
Comments
Post a Comment