Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

urgent plz

 
Rishi Chopra
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a requirement in which i have to display a table with 7 columns
with few columsn can accept value from a list(values from db)

initially there will b one row then i give the user an addrow button that will create another row for him

now this addrow in javascript creates a new row now i want to validate whether some values in some colums are same with respect to previous rows then i want to pop up a message

i wrote a javascript function then created a row for me

now i am confused over wat to do i can i get refernce to all rows value and how can i validate them on the clinet side only before submitting my form
 
Mohd. Yakub
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Compare the value column-wise related to previously collected column values and return the index value if true else return the -1 which suggest a new entery in that specific column.
Popup message columnwise.
regards,
yakub
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic