Perhaps it's because your <script> tag isn't closed? Maybe try: <SCRIPT language='JavaScript' src='../scripts/formscripts.txt'></script>
or <SCRIPT language='JavaScript' src='../scripts/formscripts.txt'/> > -----Original Message----- > From: kiuma [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 10, 2002 10:43 AM > To: Struts Users Mailing List > Subject: javascript help > > > The previous problem was on <script> tag. > > > <head> > > <html-el:base/> > <title><bean-el:message key="title.userfinder"/></title> > <link rel="stylesheet" href="../css/common.css" TYPE="text/css"/> > <link rel="stylesheet" href="../css/anagr.css" TYPE="text/css"/> > > <SCRIPT language='JavaScript' src='../scripts/formscripts.txt'> > > </head> > > this is formscrpts.txt > > > function selectAllChk( fromName, chkBoxName ) > { > var chkboxes = document.getElementsByTagName( 'input' ); > for (i=0; i < chkboxes.length; i++) { > if (( chkboxes.item(i).getAttribute('type') == 'checkbox' ) & > ( chkboxes.item(i).getAttribute('name') == chkBoxName ) ) > { > chkboxes.item(i).checked =! > chkboxes.item(i).checked; > } > } > } > > > What's wrong with it? Why inserting tag <SCRIPT language='JavaScript' > src='../scripts/formscripts.txt'> doesn't make my app start? > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>