snippet to prevent submission of form when certain/any
validations got failed
No Answer is Posted For this Question
Be the First to Post Answer
i am making a purchase sheet in html ,it contain names of product(by selecting checkboxes),quantity(textbox) and price(checbox), by using java script i am restricting the user to prevent them to enter the wrong data ,so i made the servlet were i am only able to prevent them to enter the page in empty field , so my doubt is how do you prevent them how to enter non numerical data in quantity field
sample code to auto focusing the first field in a form
how to pass data between pages using Frames
write a program to detect the user's browser ?
How to block double clicks
create a slide show
Create a Menu that can be activated while clicking on Right Mouse button
code to Hide and Show form controls
code to detect availability of cookies
how to convert between arrays and strings
how to determine which Mouse Button was pressed
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc