in my radwindow I have <a class="toggler" > + </a> which has a piece of javascript attached:
$(document).ready(function() {
$('.toggler').click(function() {
$(this).next('.tobetoggled').toggle(400);
$(this).text($(this).text() == '+' ? '-' : '+');
return false;
});
});
This jquery is used to toggle the visibility of a div:
<div class="tobetoggled" > test div </div>
exactly same setup works on a normal .aspx page, but not on this radwindow. The radwindow is very simple, got nothing but the anchor and the div described above
any idea what I am doing wrong?
thanks in adavnce
$(document).ready(function() {
$('.toggler').click(function() {
$(this).next('.tobetoggled').toggle(400);
$(this).text($(this).text() == '+' ? '-' : '+');
return false;
});
});
This jquery is used to toggle the visibility of a div:
<div class="tobetoggled" > test div </div>
exactly same setup works on a normal .aspx page, but not on this radwindow. The radwindow is very simple, got nothing but the anchor and the div described above
any idea what I am doing wrong?
thanks in adavnce