[jQuery] Re: Re[jQuery] name several divs

2008-08-26 Thread roadtaken99
Greetings, (i'm still very much a beginner in js and jquery. sorry if i'm missing something obvious). Am i missing something or the function above only returns the first occurence of the divs with id "foo-" (instead of "all divs that have an id that starts with "foo-"")?? what do i need to go

[jQuery] Re: Re[jQuery] place text in array

2008-08-25 Thread roadtaken99
Greetings, I'm trying to use Replace to work-around the fact that ".append()" and ".html()" strips any .. tag(and everything in between?). ie. i was trying to do: $.get("SOMEURLGIVINGdataOUTPUT,function(data){ $("li#SOMEid").append(data.replace(/script/g,"escape")); $("li#SOMEid").html($("li#SO