[jquery-ui] Selector doesn't work in IE

2010-09-13 Thread Simon Morris
Hello, I have a problem with a jQuery selector that works in both Firefox and Chrome but refuses to in Internet Explorer. The jQuery line looks like $('a[id*=show_ingredients_link]').click(function(){ var id = this.id.replace(show_ingredients_link, ); $(.ingredient_row + id).toggle();

[jquery-ui] Re: Selector doesn't work in IE

2010-09-13 Thread Roman
Try omitting the quotes in the filter: $ ('a[id*=show_ingredients_link]'). If this doesn't work, make sure that your HTML structure is correct. On Sep 13, 5:22 am, Simon Morris moz...@gmail.com wrote: Hello, I have a problem with a jQuery selector that works in both Firefox and Chrome but