Hi,
I need to try and extract the following from a STRING (not the current
page);
div class=error
ul
liGast Email der Rezension kann nicht
den Wert 'undefined'
If the string pattern is always the same -- i.e. nothing but the inner
text changes -- then you can simply use a regular expression.
I think this will help you: http://www.regular-expressions.info/examples.html
--
Massimo Lombardo
Linux user #437712
And you can simply use .text() method. This will return you only the text
inside your selected element.
Do you also need tips on getting the child elements on that div?
--
At,
Leo Balter
http://leobalter.net
Blog técnico: http://blog.leobalter.net
I'm suspecting youdo an ajax call, you get a page, but only need a
part of it injected into your own.
There might be a better solution, but this should work.
data = '...div class=errorulliGast Email der Rezension kann
nicht den Wert 'undefined'speichern./li/ul/div...';
data =
4 matches
Mail list logo