Current time: 12-12-2017, 06:50 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Valid DOM attributes
09-30-2009, 06:39 PM
Post: #1
Valid DOM attributes
Hi,

I was wondering if there are rules around which DOM elements can be instrumented using pagetest / urlblast.

Right now I only have success with "id" and "title".

Is there is list? I ask because I have tried other DOM elements, but they don't work (ie urlblast does not pick them up)

Cheers
Steve
Find all posts by this user
Quote this message in a reply
09-30-2009, 10:07 PM
Post: #2
RE: Valid DOM attributes
There shouldn't be. The one that you do have to watch out for specifically is class which is actually className in IE's DOM (and we use it pretty extensively). id is certainly the fastest because it doesn't have to walk the full DOM looking for it but it should be able to look for any attribute.

Do you have an example you're having problems with? If so I can take a look at it.

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
10-01-2009, 04:43 PM
Post: #3
RE: Valid DOM attributes
Ahhh, thanks for that ... I didn't realise that the "class" was named in the DOM differently

That makes it much easier!

Cheers
Steve
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)