Jump to content

DocGrimwig

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

2 Neutral

About DocGrimwig

  • Rank
    Newbie
  1. dsonesuk...What an incredible gift you have given me. Thank you. I know that all of your Moderating takes up a great deal of time an effort, and so I want to say how appreciative I am of the time spent educating me. This was undoubtedly the best teaching on the web! I'm glad to say...I"VE GOT IT!!! -Doc
  2. Wow. This is so readable and helps me immensely to understand the flow. Thanks, Dave. dsonesuk, I'm not saying yours isn't, but I am saying that I am so new to this stuff, that your explanation goes right over the top of my head. I'm just barely above the level of "See Spot run. Run Spot run " (A children's book in case you're not from a country or a time when this book was in use teaching children to read :-) Dave and ds, for the sake of my education, is there not a simpler way than having to break the script down into 3 functions? For example, is it possible to include init and
  3. So once I have targetted the userInput.value, how do I get it into the parameters for createString if not through a var like n?
  4. Oops. I didn't finish my thought... Instead of hard-coding an input and outputting to the console, I am trying to pass the value of an input to the function and then output it using .innerHTML.
  5. Hello: Below I successfully created a random string generator in js. As you can see, to verify it worked,I logged the output to the console. Now I have tried for hours to do something I thought was incredibly easy, and it probably would be if it weren't I trying to author it :-0 Commented out is the latest of my attempts to do so. The live code works correctly. <!doctype html><html><head><meta charset="utf-8"><title>Random String</title></head><body><!-- <h3>Please input a number to represent how long of a string you wish
  6. In the following code: <codeblock> <script> $(document).ready(function(){ $("#hide").click(function(){ $("img").hide(); }); $("#show").click(function(){ $("img").show(); }); }); </script> </codeblock> Is my method and syntax correct for hiding an <img>? Thanks, Doc
  7. justsomeguy: Unfortunately when I click the button it does nothing. There are no syntax errors so I don;t know what it is. It looks right... Doc
  8. So here is my program to take a user input, process it for all possible word combinations and then output the resulting string array to a p string I have been working on this for weeks and was sure I had finally gotten it. Can anyone help? Thanks! Doc <codeblock> <!doctype html> <html> <head> <meta charset="utf-8"> <title>Word Combinations</title> </head> <body> <h3>Please input a word to be processed for all of its possible combinations:</h3> <input id="userInput" type="text" autofocus="autofocus">
  9. Thanks. It is such a big mtn to climb. Thanks for your help. Any opinion on should I learn something like Angular.js to bootstrap etc? And if so, before I do .js or after?
  10. I understood permutations to mean: d, o, g, do, od, dg, gd.....dog, dgo, odg ect... So what is the above??
  11. I'm so new to this. I'm an idiot "justsomeguy." I don;t need recursion after all, I am thinking incorrectly. I just need to get it accomplished. I feel stupid.
  12. I have been trying to apply the theory of recursion to practical application within a JS function. At first I thought it would be easy. I have found several attempts, but most are all over the place and it's hard to follow them and to learn something from them. I have spent days with others, only to discover they are not using proper JS protocols. Can anyone link me to a GREAT Word Combination (recursive, repeating) -permutations, JS function that finds all of the combinations of an input word and displays them in the browser? I am so new that I can't tell what's good or what's bad. Than
  13. I am totally new to programming and am trying to adapt a snippet that was written to the console so that it now takes a user input and outputs to the browser. I have searched w3schools and other helps, but can't seem to get this last bit done. I don;t have any syntax issues apparently, and haven't earned to debug yet, so I've hit a wall. Can you help? <codebox> <!doctype html> <html> <head> <meta charset="utf-8"> <title>Possible Word Combinations</title> </head> <body> <h4>Please input a word below</h4> <input ty
×
×
  • Create New...