• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Safari 3 beta, tab object and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari 3 beta, tab object and AppleScript


  • Subject: Re: Safari 3 beta, tab object and AppleScript
  • From: jj <email@hidden>
  • Date: Wed, 13 Jun 2007 14:51:51 +0200
  • Thread-topic: Safari 3 beta, tab object and AppleScript

> At 1:39 PM +0200 6/13/07, jj wrote:
>> This one is trying to locate and innerHTML the contents of a TD class="tip1"
>> and bgcolor="#A3947D". It worked before and it doesn't now.
>>
>> So, I must replace now:
>>
>> x[i]['class']
>>
>> With:
>>
>> x[i].getAttribute('class')
>>
>> Most probably there are more cases, but now I don't have the time to check
>> it all ;-))
>
> I'm not a specialist, but I think that neither ["class"] nor
> getAttribute("class") has ever been legal. I thought that what was
> legal has always been .className (or: ["className"]). I thought that
> the reason for that is that "class" is a reserved word for JS.

I've read lots about "className", but it didn't work in Safari (I think).
Anyway, related to AS-JS-Safaribeta, it's a fact that "what worked" now
"won't".

> Got more broken scripts?

Yes!!! The one which makes possible navigating dictionaries in Smile! ;-)

I don't know. I'm very busy to check it, but I'll let you know as soon as I
find more problems with my regular scripts... I've found various issues in
some places I visit from time to time (AJAX-based), but I don't have a link
for you, as you must be a registered user and blah.

Cheers!


jj

> Emmanuel
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden

--
http://www.macscripter.net/
http://www.osaxen.com/


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Safari 3 beta, tab object and AppleScript
      • From: Emmanuel <email@hidden>
References: 
 >Re: Safari 3 beta, tab object and AppleScript (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Safari 3 beta, tab object and AppleScript
  • Next by Date: Re: Safari 3 beta, tab object and AppleScript
  • Previous by thread: Re: Safari 3 beta, tab object and AppleScript
  • Next by thread: Re: Safari 3 beta, tab object and AppleScript
  • Index(es):
    • Date
    • Thread