How to get text value in a div vs. an alert modal - jquery
Posted
by smudge
on Stack Overflow
See other posts from Stack Overflow
or by smudge
Published on 2010-05-19T17:31:19Z
Indexed on
2010/05/19
17:40 UTC
Read the original article
Hit count: 199
Does anyone have an easy way to have text in a div show what's changed in the following statement vs. an alert modal? I can't seem to get my head around it. Thanks...
$(function(){
var abc = $('select#percent').selectToUISlider();
labels: 0
$('select#valueA, select#valueB').selectToUISlider({
labels: 0,
sliderOptions: {
change:function(e, ui) {
alert('changed'+$('select#valueA option').eq(ui.values[0]).text());
alert('changed'+$('select#valueB option').eq(ui.values[1]).text());
}
}
});
© Stack Overflow or respective owner