Thank you Both Richard and Karl,
.each() works perfectly. I'm new to JQuery, but I'm catching on.
Regards,
Neal
On Aug 23, 10:28 am, Richard D. Worth [EMAIL PROTECTED] wrote:
I should've checked that. Thanks.
- Richard
On 8/23/07, Karl Swedberg [EMAIL PROTECTED] wrote:
On Aug 23,
On 8/22/07, Neal [EMAIL PROTECTED] wrote:
I'm having problems iterating through an array of JQuery objects.
Here's my code:
var x = $(#skip a);
for (var i=0;ia.length;i++){
var n = x[i];
$(n).click(function(){
$(n.hash).hide();
$(#primary
On Aug 23, 2007, at 8:39 AM, Richard D. Worth wrote:
I assume .hash is an expando property on your anchor? Or maybe you
want $(this).attr('href')? A little more slimming:
Hi Richard,
.hash is actually a native property in the same way that .href
or .pathname is. It just grabs the #
I should've checked that. Thanks.
- Richard
On 8/23/07, Karl Swedberg [EMAIL PROTECTED] wrote:
On Aug 23, 2007, at 8:39 AM, Richard D. Worth wrote:
I assume .hash is an expando property on your anchor? Or maybe you want
$(this).attr('href')? A little more slimming:
Hi Richard,
.hash
4 matches
Mail list logo