sc0tt Posted January 28, 2009 Share Posted January 28, 2009 Hi, I am able to navigate the data contained in responseXML . However, is there a way to find out through javascript code whether the responseXML contains a particular value or not ? For example , i would like to check whether responseXML contains a string "Some String". Thank You. Link to comment https://forums.phpfreaks.com/topic/142773-any-way-to-determine-whether-responsexml-contains-a-particular-string/ Share on other sites More sharing options...
corbin Posted January 28, 2009 Share Posted January 28, 2009 http://www.quirksmode.org/js/strings.html indexOf should work. Link to comment https://forums.phpfreaks.com/topic/142773-any-way-to-determine-whether-responsexml-contains-a-particular-string/#findComment-748683 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.