Hi,
I have a textbox in my html page and if it is blank and if multiple values are being entered using commas into this textbox( say ABCD,XYZ2,MNI1 ),then I need to enable the submit button1 and disable the submit button2.
To do this,i need to check whether the textbox is empty and also if comma is entered or not.
Can anyone please let me know how to do this in javacsript.
Any help is appreciated.Thanks a lot in advance!
Regards,
Apoorva