View Single Post
  #3 (permalink)  
Old November 2nd, 2006, 05:04 AM
mxxz mxxz is offline
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi MHKAY

Thanks for the response. yes im very confused about how all of this fits together. At the bottom is the html page which has the javascript that does the transform.This page display drop down where if i change the options the submit function from submit.js is called.



<Table>
<TR>
    <TD>SELECT TYPE</TD>
    <TD>
    <select name ="genre" onChange="submit('name')" id="select1">
    <option>ALL</option>
    <xsl:apply-templates select="CATALOG"/>
    </select>
     </TD>
    </TR>
    <TR>
        <TD>SELECT CD</TD>
    <TD>

when I select an item in the drop down, the value of what I have seleted is appended as a querystring in the URL.







HTM file

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <title></title>
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="author" content="Unregistered User">
  <meta name="generator" content="AceHTML Freeware">
</head>


<script language="javascript">
// Load XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("C:/Projects/Traders portal/xml_note.xml")

// Load the XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("C:/Projects/Traders portal/delete.xsl")



// Transform
document.write(xml.transformNode(xsl))


</script>
</html>


Reply With Quote