You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used jQuery datepicker to highlight the date with value > 0. It shows all dates that have value > 0. I want to highlight only those dates which have items selected in the select tag.
for example, if I choose item 1 then it will highlight only those dates where item1 has a value greater than 0.
So I tried to create an onchange event on select tag and call ajax to replace the script. But after some digging on internet I found that once the script is executed it can not be replaced.
is there any way to fetch only dates on the selected item?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have used jQuery datepicker to highlight the date with
value > 0
. It shows all dates that havevalue > 0
. I want to highlight only those dates which have items selected in the select tag.for example, if I choose item 1 then it will highlight only those dates where item1 has a value greater than 0.
So I tried to create an onchange event on select tag and call ajax to replace the script. But after some digging on internet I found that once the script is executed it can not be replaced.
is there any way to fetch only dates on the selected item?
ajax file
item.js file
js.php file
Beta Was this translation helpful? Give feedback.
All reactions