Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

bulrush400

@bulrush400
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Looking for tutorial or code to learn from, display only certain XML records
    B bulrush400

    I'd like to find a tutorial or code to learn how to do this: on a web page user enters text to search, then checks checkbox to indicate which fields to search. * Testing should work in Firefox without installing anything else on my PC. Someone told me AJAX has some problems which disappear if run on a server, and I don't have access to a server with AJAX. * I don't know if jquery would help me here or not. I know nothing about it. * Find tutorials about filtering with XML, but not where they get user input from a form. Screenshot of idea is here[^] XML file is here:

    	Bill
    	Smith
    	University of Foo
    	Microbiology
    
    Sandy
    	Green
    	University of Foo
    	Microbiology
    
    Peter
    	Billowsails
    	United Nations
    	FAO
    
    
    How nematodes affect corn crops
    
    These are usually several paragraphs long. 
    
    
      corn
      nematodes
      IARC
    
    2016-02-03
    Interesting study.
    

    I enclosed all the XML in pre and /pre tags and it still doesn't show. What am I doing wrong here?

    JavaScript

  • Can I change the date format of all dates on this forum?
    B bulrush400

    I looked through my profile and did not see a way to change the date format. Is there a way to change the date format here, like to 'YYYY-MM-DD hh:mm'? I saw the timezone setting but that's not what I want. Thank you.

    Site Bugs / Suggestions

  • Is there a Javascript forum here?
    B bulrush400

    I can't seem to find a Javascript forum here. Is there one? Where should I post if I'm looking to use JS to display only certain XML records? Or is there another site that would better answer my JS and XML question? I'm looking for a tutorial for the user to enter search terms, check boxes to search certain XML tags (author, abstract, studytitle, and tag). I've found other XML tutorials but none that use user-entered data from forms. XSLT seems unnecessarily complicated and hard to read. EDIT: I found the JS forum here. I don't know how I missed it. :)

    Web Development

  • Running XMLHttpRequest in Firefox gives no results at all
    B bulrush400

    Sorry. I'm new here.

    JavaScript question javascript html com tools

  • negation of an expression
    B bulrush400

    How about if we just drop all the words in (parens) and display what's left? #!/usr/bin/perl use strict; use warnings; my(@a,@b,$i,$j,$k,$s,$t); my(@out,$ins,$outs); $ins="clicking the (Run Match) button (or F5) to see what (happens). "; print "\n"; $outs=$ins; $outs=~s/\(.+?\)//g; $outs=undupespace($outs); print "$outs\n"; exit; # Exit main pgm. ################################################################### sub undupespace # Remove dupe spaces. Max 1 consecutive space. {my($l)=@_; $l=~s/ {2,}/ /g; return $l; # undupespace } Output: clicking the button to see what .

    Regular Expressions regex question

  • Running XMLHttpRequest in Firefox gives no results at all
    B bulrush400

    I'm opening a local HTML file. And I didn't know Error() wasn't a standard function. So I'll look into that. Thanks. If I put the html file on a web server (I have an account on sdf.org) will Ajax work then? That sounds like a PITA if Ajax won't work in a local file.

    JavaScript question javascript html com tools

  • Running XMLHttpRequest in Firefox gives no results at all
    B bulrush400

    * Using Firefox v43. * Trying example at Simple and Practical Introduction to Asynchronous JavaScript and XML (AJAX)[^] * I'm a newbie here and with Javascript. If this isn't the right site for newbies just let me know. Some sites are somewhat hostile to newbies. * I do have Ublock Origin in FF, I don't know if that or FF is blocking popups or not. If so, how do I get FF to not block popups from local HTM files? I made the XML file and html file (which I called ajax1.htm) and opened it in Firefox. I clicked the button "ReadXML" and it did nothing, nothing changed in my browser. I'm trying to figure out if FF does not support XMLHttpRequest or if something else is going on. Do you have any ideas? EDIT: The bottom of ajax1.htm has been changed to this to test the Error() function via clicking a new button. I got no result from clicking the "Test error" button either. (The code formatting does not seem to be working.)

    </script>

    <script type="text/javascript">
    function testButton() {
    Error("This is an error");
    }

    </script>

    <body>
    <span id="xmlSpan"></span>
    <input type="button" onclick="ReadXmlFile();" value="ReadXml" />
    <input type="button" onclick="testButton();" value="Test Error" />

    JavaScript question javascript html com tools
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups