• 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: 'do JavaScript' still broken in Safari 3 beta
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'do JavaScript' still broken in Safari 3 beta


  • Subject: Re: 'do JavaScript' still broken in Safari 3 beta
  • From: "Mark J. Reed" <email@hidden>
  • Date: Fri, 22 Jun 2007 10:42:55 -0400

On 6/22/07, David B. Gustavson <email@hidden> wrote:
At 5:20 PM -0400 2007/06/21, Mark J. Reed wrote:
>...It's worth noting that, in general, the trend now is away from
>embedding Javascript in HTML and toward non-intrusive means of
>scripting pages.

Are you referring to, for example, PHP? I.e., the code isn't visible
to the viewer of the page, but is executed in the process of creating
the HTML the viewer gets. Thus non-intrusive.

No. That's server-side code. I'm talking about what is called "non-intrusive JavaScript". The non-intrusiveness comes in when you look at the HTML source of the page and you don't see any JS code at all, not even a <body onload="blah"> . All it has is one or more instances of <script src="/code/elsewhere.js"></script>. All the hooks are done in the code (by accessing the HTML objects through the DOM) rather than in the HTML itself.

--
Mark J. Reed <email@hidden>
_______________________________________________
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
References: 
 >Re: 'do JavaScript' still broken in Safari 3 beta (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: AppleScript for adding JavaScript to a page which is getting loaded
  • Next by Date: Re: AppleScript for adding JavaScript to a page which is getting loaded
  • Previous by thread: Re: 'do JavaScript' still broken in Safari 3 beta
  • Next by thread: Scripting Interface Design
  • Index(es):
    • Date
    • Thread