Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Firefox/Javascript/Perl CGI argument passing issue

by marto (Cardinal)
on Jul 22, 2014 at 15:12 UTC ( [id://1094643]=note: print w/replies, xml ) Need Help??


in reply to Firefox/Javascript/Perl CGI argument passing issue

Not a perl issue, don't write JavaScript that only works in IE. You could consider using the jQuery framework to do all the heavy lifting for you.

  • Comment on Re: Firefox/Javascript/Perl CGI argument passing issue

Replies are listed 'Best First'.
Re^2: Firefox/Javascript/Perl CGI argument passing issue
by sundialsvc4 (Abbot) on Jul 22, 2014 at 15:19 UTC

    Indeed.   Even though these JS libraries have become Phat and Heavy, they are specifically designed to “abstract away” the numerous browser- and browser-version specific bits, like this very one.   jQuery is the dominant one out there right now, but it’s not the only one.   Some, such as Prototype.js, are quite a bit smaller. (I humbly stand corrected ...)   However, the bottom line is ... don’t even try to ride this pony bareback.   Use a saddle.

      Some, such as Prototype.js, are quite a bit smaller.

      Without qualifying that statement to discuss UI libs or something, it’s not right; Prototype is almost exactly twice as big as jQuery. And FWIW Prototype is near the end of the list I’d recommend due to the richness of other kits and its history of screwing up built-ins and not playing well with other kits.

      ~/>wget "http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min +.js" ~/>wget "http://ajax.googleapis.com/ajax/libs/prototype/1.7.2.0/protot +ype.js" ~/>sl prototype.js jquery.min.js -rw-rw-r-- 1 moo staff 95786 May 12 19:26 jquery.min.js -rw-rw-r-- 1 moo staff 197777 Apr 23 01:11 prototype.js

        I most-humbly concede your point, redact my prior statement, and stand corrected.   Thank you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-24 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found