Jump to content

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...