Javascript function indexOf() not working in chrome

 
var val = this.value + ""; // Just concat "" in last, and error will resolve.
    if ( val.indexOf('> <') !== -1 )
 

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...