Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jQuery UI datepickerウィジェットを使用していますが、リクエスト変数が設定されているかどうかを確認したいと思います。誰かが日付を選択すると、リクエスト変数dateは。を使用して設定されwindow.location.replace()ます。の後に、変数が設定されている場合はこのメソッドをreplace()使用して日付を設定します。それ以外の場合は、今日の日付を使用します。setDatedate
date
window.location.replace()
replace()
setDate