I have this element
<div class="btn">
<input type="submit" ng-disabled="form.$invalid" ng-click="submit(user)" value="Sign In" />
</div>
that submits login data. I tried following ways, but they not working:
$('div[class="btn"] > input').click();
$('div[class="btn"] > input').submit();
How to submit by other way?