dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: xelawho

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    464

    If you already know JavaScript, spending half an...

    If you already know JavaScript, spending half an hour with the documentation will give you an idea of the possible benefits. Personally, I don't see many when you consider the overhead of another...
  2. Replies
    7
    Views
    464

    So you fully understand javascript, just looking...

    So you fully understand javascript, just looking for a little syntactic sugar?
  3. Replies
    7
    Views
    464

    That's an interesting claim. Being that the first...

    That's an interesting claim. Being that the first line of the CS documentation is "CoffeeScript is a little language that compiles into JavaScript" how do you think it is that one language could be...
  4. Replies
    13
    Views
    1,416

    I don't know what the X button is nor do I know...

    I don't know what the X button is nor do I know why your reset method isn't working, but as a workaround you could just grab the innerHTML before assigning the form values instead of after:

    ...
  5. Replies
    2
    Views
    548

    don't put in the head of a...

    don't put <script> </script> in the head of a document - if you try to apply a click listener there, the button does not exist yet and it will fail. This is the problem with learning jQuery before...
  6. Replies
    13
    Views
    1,416

    ...

    <script>
    document.getElementById("btn").onclick=function(){
    frm=this.form;
    this.style.display="none";
    for(var i = 0; i < frm.elements.length; i++) {
    var el=frm.elements[i];
    ...
  7. Replies
    13
    Views
    1,416

    my understanding of the question is that OP wants...

    my understanding of the question is that OP wants to print the form without printing the rest of the page, which is why they grab the innerHTML of the page, store it, set the innerHTML to just the...
  8. Replies
    13
    Views
    1,416

    the only reason you need to do any of that is...

    the only reason you need to do any of that is because the input type is set to "submit" - change it to button and that small problem disappears.

    the larger problem is that user-entered values in...
  9. Replies
    13
    Views
    1,416

    if you do not want the page to redirect you will...

    if you do not want the page to redirect you will have to submit it via AJAX. Otherwise you have a race condition which should be solved by a little timeout and not using a submit type button:


    ...
  10. Replies
    10
    Views
    1,085

    Nobody's arguing in favor of jQuery as an...

    Nobody's arguing in favor of jQuery as an alternative. Using jQuery for this would present the same problem - getting the browser to parse a massive library file to do something that can be done with...
  11. Replies
    10
    Views
    1,085

    because you can do it in vanilla javascript using...

    because you can do it in vanilla javascript using about 25% of the code

    [EDIT:] if you account for removing angular from the equation, you can do it in less than 1% of the code
  12. Replies
    10
    Views
    1,085

    still don't see the IIFE. Just out of curiosity,...

    still don't see the IIFE. Just out of curiosity, you know how to make this without using angular, right?
  13. Replies
    10
    Views
    1,085

    I think you may have posted the wrong version of...

    I think you may have posted the wrong version of the fiddle - there is no IIFE there and clicking the radio buttons only results in console errors
  14. Replies
    5
    Views
    638

    The first thing to do would be to figure out why...

    The first thing to do would be to figure out why it is not working in Edge. Is it a javascript problem (have a look at the error console) or CSS drama?

    I think both are somewhat unlikely as Edge...
  15. please post a stripped down, working example...

    please post a stripped down, working example (including the html) of what your code is doing at the moment - it's very hard to see from the snippets what's actually going on here.
  16. Replies
    5
    Views
    957

    ha, ha. Nice code, wrong branch. I think you're...

    ha, ha. Nice code, wrong branch. I think you're looking for the JAVA boys.
  17. Replies
    5
    Views
    957

    you might be interested in my answer to this...

    you might be interested in my answer to this question over here
  18. I'm assuming there are no unique identifiers in...

    I'm assuming there are no unique identifiers in the feed items like a guid?
  19. Replies
    3
    Views
    1,887

    Why not go straight to the docs? ...

    Why not go straight to the docs?
    https://angularjs.org
    https://nodejs.org/en/about/
  20. Please create a Minimal, Complete, and Verifiable...

    Please create a Minimal, Complete, and Verifiable example that we can use to look at. Files served from local host are useless to us. The advice you have been given sounds very off, but may work....
  21. Holy moley. It's the thread that would not die...

    Holy moley. It's the thread that would not die :eek:

    Kor?
  22. Replies
    4
    Views
    1,967

    In terms of keeping it simple,. there's only one...

    In terms of keeping it simple,. there's only one test: can I do what I want to do without a framework? (And if I understand the site, I would say that's about a 99% chance of being a "yes")

    IF you...
  23. I guess the more secure way to do it would be to...

    I guess the more secure way to do it would be to test for authentication on the server then in the post response send some sort of flag to either redirect or instruct the user to login again. You...
  24. When is your homework due?

    When is your homework due?
  25. Replies
    3
    Views
    1,485

    here's one:...

    here's one: http://asset1.marksandspencer.com/is/image//mands/SD_01_T42_8136D_VA_X_EC_90

    just right click and inspect element. You can't stop people taking images. Well there is one failsafe way:...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles