ok..
can I see the corresponding HTML code
where is defined iti and skipped ?
On 29 Giu, 21:38, Mean Mike mcgra...@gmail.com wrote:
thats odd I use that syntax all the time like this
$(#iti, #skipped).sortable({
connectWith: ['.connectedSortable'],
receive: function(e,
sure here ya go I took out all the smarty
div class=transfer
label for=itiIn This Issue/label
ul id=iti class=connectedSortable sortable
li class=hidden/li
li id=iti_01 li content for iti goes here/li
/ul
label
The selector should be a *string*, to which
$(.nc1).removeClass('hidden')
is not...
$(.nc1).removeClass('hidden')
should work
On Jun 29, 11:58 am, Antonio antonio.pie...@gmail.com wrote:
Hi folk,
In HTML code I have this situation:
div id=nam1 class='nc1 nc2 nc3 hidden'/div
div
your missing quotes
$('.nc1').removeClass('hidden')
On Jun 29, 11:58 am, Antonio antonio.pie...@gmail.com wrote:
Hi folk,
In HTML code I have this situation:
div id=nam1 class='nc1 nc2 nc3 hidden'/div
div id=nam2 class='nc1 nc2 nc3 hidden'/div
I would like to remove hidden to class
and if I have the following html code
div id=nam1 class='nc1 nc2 nc3 hidden'/div
div id=nam2 class='nc1 nc2 nc3 hidden'/div
div id=nam3 class='nc1 xxx hidden'/div
div id=nam4 class='nc1 xxx hidden'/div
and I would like to handle only div elements with class values
starting with nc1 nc2
how can
you need the . again like this
var div_elements = $('.nc1 .nc2');
On Jun 29, 1:37 pm, Antonio antonio.pie...@gmail.com wrote:
and if I have the following html code
div id=nam1 class='nc1 nc2 nc3 hidden'/div
div id=nam2 class='nc1 nc2 nc3 hidden'/div
div id=nam3 class='nc1 xxx hidden'/div
As you can see at this page:
http://webcms.ba.infn.it/~pierro/GUIcondDb/CondDBMonitoring/test.html#
var div_elements = $('.nc1 .nc2');
doesn't work
Antonio
On 29 Giu, 19:37, Antonio antonio.pie...@gmail.com wrote:
and if I have the following html code
div id=nam1 class='nc1 nc2 nc3
also
var div_elements = $('.nc1, nc2') doesn't work
because it works like nc1 OR nc2
the solution is to write
var div_elements = $('.nc1.nc2')
i.e. .nc1.nc2 tied without empty space..
thanks
Antonio
On 29 Giu, 21:01, Mean Mike mcgra...@gmail.com wrote:
my bad you need a comma separator as
my bad you need a comma separator as well
var div_elements = $('.nc1, .nc2');
On Jun 29, 2:55 pm, Antonio antonio.pie...@gmail.com wrote:
As you can see at this
page:http://webcms.ba.infn.it/~pierro/GUIcondDb/CondDBMonitoring/test.html#
var div_elements = $('.nc1 .nc2');
doesn't work
thats odd I use that syntax all the time like this
$(#iti, #skipped).sortable({
connectWith: ['.connectedSortable'],
receive: function(e, ui) {
var item_id = $(ui.item).attr('id');
$(ui.item).attr('id', $(this).attr('id') + item_id.substr
10 matches
Mail list logo