Re: 'do JavaScript' still broken in Safari 3 beta
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