this works in Firefox on XP.  not tested beyond that:

<script type="text/javascript">
        for (var i=0; i<document.getElementsByTagName('a'); i++) {
                document.getElementsByTagName('a')[i].removeAttribute('href');
        }
</script>

On 9/28/07, Chad Gray <[EMAIL PROTECTED]> wrote:
> I am taking a page and sending it to CFDocument for a PDF.
>
> Is there a way to kill all hyper links on the page so there are no hyperlinks 
> in the PDF?
>
> Thanks,
> Chad
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289746
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to