• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Use JSTL var In an indexOf Function  RSS feed

 
Ranch Hand
Posts: 1889
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: 66826
168
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!