Jquery msdropdown get data-image value. See jsfiddle with problem code
$10-30 USD
Tamamlandı
İlan edilme: yaklaşık 8 yıl önce
$10-30 USD
Teslimde ödenir
Please see this jsfiddle >
[login to view URL]
Upon select, it alerts with the val, which is the select option ID
alert($(this).val());
But I need the image filename.
so, the alert should contain the image filename, so I can see it working.
( And then I should be able to change this >>
$("#cart-image-1").attr('src', $(this).val());
To update with the image filename (and so, swop an image on the page) )
I think I have explained this fully and given the precise code. If you dont understand this or have more questions then this isnt the job for you. Nothing more than working code required.