Scriptlet inside Javascript function ?
843836Feb 18 2004 — edited Aug 21 2008Folks
I have 2 blocks in JSP page , I display these blocks based on some objects, Some times i display both the blocks,
and some times i display any one of the blocks, I do have a Javascript function which validates fields of these two blocks when the user hits submit button, Now i am not able to validate , when one of the block is not displayed,It keeps looks for the fields in that block(which is not displayed), I need to know how to validate these conditions,
thanks
mathew