• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot read property split() is undefined in chrome and IE -11

 
Karan Saxena
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Data in drop down ,not persisting in chrome and IE -11 .But working fine in firefox .

error shown via inspect element is -> Cannot read property split() is undefined .

Below is the Funtion in jsp ,used to display the data in dropdown



exact line in which I am getting error is -- var count = data.id.split("_")[1];
net.gif
[Thumbnail for net.gif]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic