Select onchange reload the page and keep the selected option

ساخت وبلاگ

Vote count: 0

I have this jsfiddle https://jsfiddle.net/1zqgeq79/1/

This is the jquery I'm using to make the page refresh when a select has been changed, (this doesn't work in jsfiddle but it works against my actual project) and now I just need it to keep that selected option after the page loads.

 $('.ProductDetails select').change(function () { location.reload(); });

Since I have multiple items I know a (this) will have to be used, but I'm still learning jquery. Thanks for the help!

asked 30 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 265 تاريخ : دوشنبه 28 فروردين 1396 ساعت: 21:43