Thanks for the reply.. i should of put a 'newb' alert out:)
anyway, ya so it wasn't in the DOM so that explains why that wouldn't work..
I ended up using IndexOf and substr... to remove the div from the string...
last question .. is there an simpler way?
Wizzud wrote:
>
>
> To remove an
To remove an element from the DOM, remove() is the function.
To remove "" from a String (of HTML) you'd have to either use
string manipulation, or add it to the DOM and then use remove().
The reason I include both is because your question is ambiguous : a
literal "string of html" does not have el
2 matches
Mail list logo