{A_K_A} Posted November 23, 2008 Share Posted November 23, 2008 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 More sharing options...
jlhaslip Posted November 23, 2008 Share Posted November 23, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.