in reply to Re: cgi.pm and noscript
in thread cgi.pm and noscript

I was looking for an alternative to my current method which is

$cgi->start_html( ... -script => {-language => 'javascript', -src => '../javascript/sc +ript.js'}, -onLoad => 'init()', ),

where script.js contains

function init() { document.getElementById('jsDisabled').style.display = 'none'; }

which hides a message about javascript being disabled, but sometimes it briefly appears on the page, so I wondered if using the noscript tag would improve on that.