I am trying to read the value of my slider from a DIV element's title (which may be the issue). That is pushed into the following:
$(document).ready(function() {
$(".myslider5").slider({
min: -1000,
max: 1000,
value: parseInt($(this).attr("title")),
slide: function(event, ui) {
// more actions
}
});
I think I get NaN error. Any clues?