Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

jQuery [nodeName=ns1:result] syntax no longer works

Just tried to use [nodeName=namespace:node_name] syntax in Firefox and Chrome to get a result message from a soap responseXML and failed while using jquery-1.6.2.min.js and jquery-1.7.1.min.js: This is the contents from my jQuery.ajax "success:" blocks code success :...

Viewing multi-page tiff files under Linux

I just used my HP Officejet Pro 8500A to scan a 2 page document to tiff format. It drops it into a samba share on my Fedora 16 box. Trying to open the tiff format scan on Linux and i could only see the first page. With the default viewer - which in my case is the...

Perl Switch/Case Satement

for (@ARGV) { if (/^6\d{4}$/) { $item_code = $_; $action = 'load'; } elsif (/^stop$/) { $action = 'stop' ; } elsif (/^start$/) { $action = 'start'; } else { print "Default\n"; } } print "Item : " . $item_code . "\n"; print "Action : " . $action ....

RES:23# I don’t know what it means either

A company named HSAjet has a CU (Control Unit) that drives some expensive print heads for carton labelling. In the documentation that is supplied with the Control Unit it specifies that you can communicate with it via RS232 and Ethernet. The Ethernet part is what I'm...