Closed GoogleCodeExporter closed 9 years ago
Well its definitelly works with variables (I've tested that many times). Its
broken for you because you have double quotes used twice:
onchange="$("#div_id").rotate(this.value)"
This means that onchange function ends at the end of first brace ;)
Hopefully this helps you solve problem :)
Original comment by wil...@gmail.com
on 15 Mar 2011 at 10:40
Original comment by wil...@gmail.com
on 15 Mar 2011 at 10:41
Yeah I solve it that way:
$('#np_angle').change(
function()
{
$('#np_drag').rotate(parseInt($('#np_angle').val()));
});
Nothing else helped.
Original comment by ad...@sok4e.eu
on 17 Mar 2011 at 5:32
parseInt() did the trick for me. Thank you!
Original comment by bignat...@gmail.com
on 19 May 2011 at 6:45
Original issue reported on code.google.com by
ad...@sok4e.eu
on 15 Mar 2011 at 10:31