Jump to content

Textbox


{A_K_A}
 Share

Recommended Posts

Hi guys,I have a text box which I want the user to enter his/her age, is their a way that I could force them to only input Ints (hole numbers).Also I have used the £ sine a number times now in my code and it displays as a funny question mark how do i get the pound sine to appear.Thanks again :)

Link to comment
Share on other sites

javascript will be able to confirm the numeric value on input, or php will do it server side after a submit. Ajax will do it without the submit.Your call.Check the characterset for the page to confirm that it includes a pound sign. Might need to go to a UTF-8 when you save the file in your editor and then use a UTF characterset.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...