if data is undefined
-
I had an error and corrected it.
I had:data = data.split('id="' + {here id of my content} + '"')[1];
So, i replaced it with:data = data.substring(data.indexOf('<section class="content">'), data.indexOf('</section>'));
It helped me. My content was in “<section class=”content”></section>”
I think it can help you too.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘if data is undefined’ is closed to new replies.