This post is quite old, but I'll post my solution to help anyone coming from google (like me).
You can use the child selector > in jQuery, because the wrapping span has the CssClass that you specified, and one input child. In your code:
$('.myClass > input').addClass("myClass");