Although Microsoft have made the isDisabled attribute of DOM Nodes of type INPUT read-only, there is a way to enable or disable a form input dynamically - at least in ie6.
The technique uses textual substitution on the outerHTML attribute of the node in order to lock it. This technique does...
Profuse apologies. I'm using a new emulator and the font doesn't visibly differentiate between colons and semicolons. I've just wasted my time and yours on a typo.
sorry ;-(
I would like to change the title of an ie6 window from an onClick event. onClick="javascript:document.title='New Title';" does not do the trick.
Yours,
fish.
Compare first the years and then, if the years are equal, look at the months. If the months are the same, look at the days. This gives rise to code like this:
sub cmp_by_bits {
my( $ad,$am,$ay,$bd,$bm,$by );
$_[0] =~ /(\d+)\/(\d+)\/(\d+)/ # dd/mm/yy{yy}...
An external app is generating files with names like =UTF-8BTW9uaXRvciBDb21wYW55IEdCLUFLUk9TLTVVR0hMUC0wLUkyLnhscw===.
I need to rename them to something more useful in a W32 environment (they are mostly PDFs but some are, eg, Excel spreadsheets). I suspect that the current name is, in some...
Perl will interpret your shebang line whether it is a valid path or not. According to the perlrun man page:
Parsing of the #! switches starts wherever ``perl'' is mentioned in the line. The sequences ``-*'' and ``- '' are specifically ignored so that you could, if you were so inclined, say...
What are you actually trying to do? It looks as if you are reading info about all processes in order to get info about one. It also looks like you're reading all info about your process and my guess is you only want to know one thing, such as "Is it still running?" or a detail such...
sub realname_to_logname {
# given a realname, return an available logname
my $name = lc($_[0]);
my @names = split( /\s+/, $name);# into words
my $logname = substr( $names[0], 0, 1) . $names[$#names];
my $try = getpwnam( $logname ); # non-zero if $logname...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.