Monday, August 31, 2009

Regex Pt. II

For some reason my page was transferring to client side when it should not have been at all. To solve the problem I put

myString.match(/^\d+$/)

in JavaScript to determine if a string had any non-numeric values. I didn't want to be passing them to my c# routines. Was getting some nasty errors, boy. I'm still figuring out why my

javascript:CallMe

was being executed at all. I'll think on it.

No comments: