I have a div with an ID
this jquery selector works
$(\"[id^=\'updates-pane
For sure period creating problem for JQuery to recognise the pattern.
jQuery has three type of selectors:
"." selector means to select an element by class name."#" selector means to select an element by ID.div, input
etc.)And you have confused jQuery engine with your naming convention of ID.
Its assuming that there is a div with id="updates-pane-user" and a applied class="followed_on". In such cases jQuery suggest to escape sequence using //. Below should be your syntex to select the element.
$("#updates-pane-user\\.followed_on");
Check it out this wrong fiddle and try to correct using // : http://jsfiddle.net/ukJ8Z/
Cheers!!