[thelist] IE Behaviour to add quotes to <q>

Julian Rickards julian.rickards at gmail.com
Thu Mar 13 15:43:39 CDT 2008


Sorry, I missed this when you sent it. Thanks, I will give it a whirl.

Jules

On 13/03/2008, Ken Snyder <kendsnyder at gmail.com> wrote:
>
> Julian Rickards wrote:
> > Hi:
> >
> > Does anyone know of a little script for IE that will surround < q> text
> with
> > quotation marks?
> >
> > Jules
> >
> >
>
> // untested
> var qNodes = document.getElementsByTagName('q');
> for (var i = 0, length = qNodes.length; i < length; i++) {
>   qNodes[i].innerHTML = '&quot;' + qNodes[i].innerHTML + '&quot;';
> }
>
> - Ken Snyder
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



-- 
Blog: http://pen-and-ink.ca
E-mail: julian dot rickards at gmail dot com



More information about the thelist mailing list