[jQuery] I need syntax help, please.

[jQuery] I need syntax help, please.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Courier New, Courier, monospace">This
should be a quick one.
I know there's a way to do this, but it escapes me at this time.
I've got a few <a href...> tags on my screen, and I want some of
them to open in the same window and some to open in a pop up, sized
specifically.
Here's what I've got so far:
<script>
    $(document).ready(
    function (){$("a", ".newWindow").click(
        function(){
            // there's more than just width and height, but you get the
idea.
            var handle = window.open(this.href, 'some_target',
'width=550, height=500');
        });
    });
</script>
I've tried this same idea with the following changes:
   ... $("a", "#newWindow").click(...
and
   ... $("a", newWindow).click(...
and
</font></font><font size="-1"><font
face="Courier New, Courier, monospace">   ... $("#newWindow", </font></font><font
size="-1"><font face="Courier New, Courier, monospace">"a"</font></font><font
size="-1"><font face="Courier New, Courier, monospace">).click(...
and
</font></font><font size="-1"><font
face="Courier New, Courier, monospace">   ... $(".newWindow", </font></font><font
size="-1"><font face="Courier New, Courier, monospace">"a"</font></font><font
size="-1"><font face="Courier New, Courier, monospace">).click(...
and
   etc., etc., etc.
Where am I going wrong. So far in my jQuery experience, I've only had
need to find elements by their class, element type, or ID. But not a
combination of those. Can someone please hit me with the correct
syntax? Hit me hard, so I don't forget it next time. :o)
Cheers,
Chris
</font></font>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/