If I write this script :
alert(parseInt(\"123blahblahblah456\"));
I get the alert with the value 123
Ideally, shouldn\'t th
As far as I know the parseInt() method is trying to parse until it finds a character. So if you have
parseInt("123 Iam funny") it will return 123.parseInt("whats up 4711") it will return NaNSome documentation you might be checking out :