• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use JSTL var In an indexOf Function  RSS feed

 
Ranch Hand
Posts: 1814
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the following javascript the faiqueueparamsObj.faiinspectionsource = 13,15 and the itemName.recseq returns 13,14,15,16,17 sequentially so the indexOf should return > -1.


 
Author and ninkuma
Marshal
Posts: 66400
156
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no JavaScript in this code. Those are JSP EL expressions. As such, this has been moved to the JSP forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!