in reply to Re: Perl & JavaScript
in thread Perl & JavaScript
To make this more robust, we would want to check each link for a value in document.links[x].search (i.e. the query string). Then we would know whether to glue the hasjs=1 bit on with a question mark or an ampersand.
Documentation on search.
|
|---|