[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Is there anyone who can help me???

Subject: Is there anyone who can help me???
From: "Paal Eriksen" <pserik@xxxxxxxxxxx>
Date: Mon, 03 Apr 2000 10:30:09 CEST
anyone who can help me
I've posted similar problem once before and try again, anyone who can give me a hand ????

I have simplified my problem allot and this is my problem. This generates a list of headlines and i let everybody get access to a function myAlert. But if i click on one of the link i get Error: Object expected. If i try the javacode call in a ordinary htm file it's ok. So question is anyone know why i get this error! My goal is to generate a list of headline links and be able to click each of them, use javascript to retrieve info's from the xml file and show it in a cell i have specified with an ID.

So ANYONE ????

Steven

<xsl:script language="Javascript"><![CDATA[
	function myAlert() {
 		window.status="Welcome to my homepage";
	}
]]></xsl:script>

<xsl:for-each select="main_news/news/title">
	<a href="Javascript:myAlert()">
	<li/><xsl:value-of select="./@headline"/></a>
		</xsl:for-each>


______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.