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
Answer Posted / shivkumar
use isNumber() function to check whether entered data is non-
numerical ??
if it is then give an error
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
I have a doubt regarding including tags in a function.
I have written a function in javascript in a html page. The
function got called by clicking a button, i want to display
the results in same html page by placing tags in the
function. (this hmtl page is static page)
Is this possible?
example:
code to get the coordinates of a Click Event
code to create a new window
Create a ViewState Property?
write a code that user can choose/alter Body Text Size
How to encode and decode URL strings?
how to Auto Scroll the page
Reading which Non-Character Key was pressed
how to copy form data between different pages
code to images to rollover
how to transform XML Data into HTML