This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
In my jsp web page,an table is created dynamically,with columns:
Now MergeStop is readonly field which cannot be edited and sequence is text field which is to be filled by user,i want to do form validation of this dynamically created web page.
I know static validation i.e., by document.getElemnetById("").value.length>0/////but how to use same concept for varying id's created dynamically..
How is it "changing dynamically"? If it's your code changing it, then you should know what id values are being generated. As I said, once the element is created, it doesn't matter how it was created, it can be treated the same as every other element.