jQuery n00b question: locating text and performing operation based on its existence
<p>I'm trying to learn jQuery, but it's coming slowly as I really don't know any JavaScript. </p>

<p>My site is in VB.NET and I'm putting jQuery code on both my actual .ascx UserControl and in a separate file (something like myscripts.js). This is because I'm using webforms as I still don't know MVC well enough to implement it, so I have to get the clientID's on the page.</p>

<p>What I would like to do is the following:</p>

<ol>
<li>Grab text from a textbox and make it all lowercase</li>
<li><p>Get the username from the login info. I've done this like so on my actual page:  </p>

<pre><code>var userName = "&lt;%=Split(System.Web.HttpContext.Current.User.Identity.Name.ToLowerInvariant, '|')%&gt;";
</code></pre></li>
<li><p>Check to see if the username is in the text. If it IS in the text, I want to set a variable to "false", othewise to true.</p></li>
</ol>

<p>I know there are a ton of jQuery experts out there... can anyone help? Thanks so much!</p>

<p>PS if I'm not clear on anything, let me know and I will supply more info.</p>
