Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Rominall

  • Rank
  1. Ok, I think I'm SOL but is there a way to drop a mapped drive folder shortcut on a webpage so users can drop it on their desktop?
  2. Not sure if this is the right forum but thought I'd start here. I have about 200 word documents that I need to convert to html but... All the documents have text boxes, that don't covert easily with anything I've tried. PDF conversion works but due to stuff out of my control they load really slowly and on refresh sometimes they fail to reload properly So, my ultimate goal (way down a deep dark tunnel of unforeseen restrictions) would be to have each 'section' of the word docs be part of a table and then load the pertinent cells when a specific page is called. For example the word do
  3. So, I am really confused. At first I thought my problem was because my server wouldn't support GET/POST but now I'm not so sure as Firefox can use the GET. My code works in Firefox but not IE9 or Chrome. <html><body><script>//var xhr = new XMLHttpRequest();//var parser = new DOMParser();//var doc = parser.parseFromString(xhr.responseText, 'text/xml');if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); }else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }xmlhttp.open("GET","RepXML.xml",f
  4. I'm not sure what the issue is so thought maybe you'd be able to help. I copied the examples from here - http://www.w3schools.com/xsl/xsl_client.asp onto my server. It runs just fine in FireFox but won't work in IE - I just get a blank page (no errors). I'm running IE9 and I've turned on compatibility. I've also checked my browser add-ons and I have the following (all enabled): XML DOM Document XSL Template XML DOM Document 4.0 XML Dom Document 6.0 XML HTTP 4.0 XML HTTP 6.0 XML DOM Document 3.0 XML HTTP 3.0 Free Threaded XML Dom Document Any ideas?
  5. I've got a webpage that pulls some XML tables. And at the top I want to have the user choose which page to load. the buttons work as is but if the buttons are clicked more than once the div that get's populated multiplies. So if they click button 1 then button 2 and button 2 and button 1 I get 4 tables on down the page.What I want to do is to clear the <div> element if it's not blank. Here's part of my function (duplicated for both buttons): function displayResultPS() { if (document.getElementById("example").value !=""){ document.getElementById("example").innerHtml = "";
  6. Rominall

    new to XML/XSL

    Ok, I'm new to XML and XSL. Ultimately I want to populate this table with filters based on user input but thought I'd start with the whole table. Here's a portion of my XML file <?xml version="1.0" encoding="UTF-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="XSLstylesheet.xsl"?><data-set> <rep> <RepID>12345</RepID> <Rep>SomeName</Rep> <Dept>PS</Dept> <Station>1</Station> <ClassDate>41593</ClassDate> <Agency>AGency</Agency> <
  7. thanks. but when I changed it, it still didn't work. function Submit1() { var x = document.getElementById("OTWOpt1"); var y = x.options[x.selectedIndex].value; alert(y)If y == 1 x.options[x.selectedIndex].text = "Wrong"elseIf y == 2 x.options[x.selectedIndex].text = "Right"} If I comment out the if else the alert works fine and returns the expected value. So it's something in the if/else statements. If I replace the if/else with this x.options[x.selectedIndex].text = "Yes" that works. So what is wrong with the if/else statement? I tried else and elseIf. ????? I'm soooo confused.
  8. I have this code in my HTML page.<script> function init(){ document.getElementById('OTWOpt1').onchange=function() { if(this.value==2) {this.options[this.selectedIndex].text='Right'; } if(this.value==1) {this.options[this.selectedIndex].text='Wrong'; } } } window.addEventListener? window.addEventListener('load',init,false): window.attachEvent('onload',init); </script> I want to move it to it's own JS page but I'm having all kinds of problems getting it to work. I know how to do the onchange for the select object but the syntax doesn't seem to be working. I tr
  9. I have a table w/ 4 columns: col 1 = string; col 2 = selection w/ 5 options, col 3 = selection w/ 5 options, col 4 =button. I want to have the user select an option in both col 2 & 3 and then click the button to 'check' the options selected. Here's the HTML for the table <tr><td class="Prod">Product1</td> <select name="mySelect1"; onchange="ChckValue()"><option value="3">Choose</option><option value="1">$7.95</option><option value="1">$9.95</option><option value="2">$12.95</option><option value="1">$14.95</opt
  • Create New...