Cant get a form by name with jquery
<p>I'm trying to apply some styles to a div that comes right after a form but, can't get it to work with jquery. I can't set an ID of CLASS to the form because is from a joomla module.</p>

<pre><code>&lt;form action="#" method="get" name="mod_Form"&gt;&lt;/form&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="#" style="font-size: 10px;"&gt;Some thing here...&lt;/a&gt;&lt;/div&gt;
</code></pre>

<p>This is how I'm trying to do it with jquery:</p>

<pre><code>$(document).ready(function() {
    $("[name=mod_Form]").next('div').css('color', 'green');
});
</code></pre>

<p>That code doesn't seem to work... </p>

<p>Please guide me to how I can accomplish my task.</p>

<p>Thanks in advanced for your time and help.</p>
