mm i dont know if this is the best way but you could try $("ul a#click").onclick = function() { return false; }
and then on that link you set a style class with the standard cursor Its a workaround but it works On Tue, Jun 9, 2009 at 2:13 PM, alex <alex_bille...@hotmail.com> wrote: > > Hi folks > > This has me stumped. I have a list of images and I want to remove the > links but retain the images. > > So this > > <ul> > <li><a href="foo"><img src="path/to/image1" /></a></li> > <li><a href="foo"><img src="path/to/image2" /></a></li> > etc etc > </ul> > > Becomes this > > <ul> > <li><img src="path/to/image1" /></li> > <li><img src="path/to/image2" /></li> > </ul> > > Using this > > $('ul a').remove(); > > > does not work as it also removes the images as well. > > Any help would be much appreciated. Thanks in advance. > > Alex > > -- Armand Datema CTO SchwingSoft