Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^6: [OT] Perl / Computer Science Science Fair Projects

by ikegami (Pope)
on Sep 09, 2008 at 21:06 UTC ( #710194=note: print w/ replies, xml ) Need Help??


in reply to Re^5: [OT] Perl / Computer Science Science Fair Projects
in thread [OT] Perl / Computer Science Science Fair Projects

If I wish to inline some JavaScript in a tag, there is (as far as I know) absolutely no way for me to say that I want features turned on.

Specifying the default scripting language, from the HTML spec.

(I'm not disagreeing with anything you said. I just thought you might be interested in this.)


Comment on Re^6: [OT] Perl / Computer Science Science Fair Projects
Replies are listed 'Best First'.
Re^7: [OT] Perl / Computer Science Science Fair Projects
by tilly (Archbishop) on Sep 09, 2008 at 21:37 UTC
    Nice looking spec. I just tried it in my Firefox 2. Based on the advice there I would expect one of the following two to cause script tags to default to version 1.7 but neither does:
    <META http-equiv="Content-Script-Type" content="application/javascript;version=1.7"> <META http-equiv="Content-Script-Type" content="text/javascript;version=1.7">
    (Either content version will work in a type tag to a script.)

    Given that failure, I am not going to rewrite my code sample to be inlined in a script tag. I'm just going to assume that it won't work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://710194]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2015-07-31 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls