validating one textbox only with jquery ui
I have the following textbox:
<input id="txtEmailMe" class="required email" type="text" style="width:200px;" name="ctl00$BannerHolder$txtEmailMe">
I then have:
$('#emailMeSend').click(function (evt) {
//firs need to check if valid email
evt.preventDefault();
On my button click which is working fine I want to check to see if this one textbox is valid.
I have opened a form up on a jquery ui dialog which has one textbox, the one you see above.
How can I validat this textbox only using jquery ui?