Matching of a page title in a jquery selector in addition to other selectors
<p>I have this default jQuery selector (a div element) for matching a specific element:</p>

<pre><code>$('.myselectorid')
</code></pre>

<p>However this "myselectorid" appears in different pages of the site. I am thinking if it is possible to add a page title selector to the above original selector so that I could execute my jQuery implementation on a specific page only (specified by the page title).</p>

<p>Also I need all of them combined as one jQuery selector.</p>

<p>I also know that to retrieve the page title, it would be like this:</p>

<pre><code>$('html head title').text(); 
</code></pre>

<p>However I am not sure how to combined the above selector to my original selector as one new selector. For example, supposing I would like it to match the selector on a page with title "This is my page title", can I do it like this?</p>

<pre><code>$('.myselectorid[html head title="This is my page title"]')
</code></pre>

<p>If not, how would I do it so that all of them appears as one combined selector (without using .add etc.) and it matches the page title as well?</p>

<p>I'm not an expert of jQuery selectors, I would appreciate if someone can share some insights on this approach. Thanks a lot!</p>
