dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: xelawho

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds; generated 10 minute(s) ago.

  1. jQuery You might get some better input if you actually...

    You might get some better input if you actually ask a question
  2. Replies
    3
    Views
    9,433

    jQuery It looks like the data.msg.substr line may be the...

    It looks like the data.msg.substr line may be the culprit, but hard to tell without seeing it in action. Have you asked the developer?
  3. Replies
    9
    Views
    1,312

    You can see that the office span has...

    You can see that the office span has style="font-weight:bold" in the html. It should be in the css, but that's how it's done
  4. Replies
    4
    Views
    563

    1. Why do you want to use globals? 2. There is...

    1. Why do you want to use globals?
    2. There is no echo in javascript. What are you trying to do there?
    3. There is no mention of the thus keyword in your code. Can you show us what you are...
  5. Replies
    13
    Views
    1,577

    I would guess from the sounds of it that you are...

    I would guess from the sounds of it that you are using input type="submit" on your button. If that's the case try changing it to input type="button" and if that doesn't work please post your full code
  6. Replies
    13
    Views
    1,577

    None of that changes my original point - that the...

    None of that changes my original point - that the browser doesn't know if it got the location from GPS, nor can it check if GPS is on, nor can it guarantee even if it is on that the location result...
  7. Replies
    13
    Views
    1,577

    I think that the greater point is that being that...

    I think that the greater point is that being that there is no check for which source the location data comes from (GPS or otherwise) telling someone to make a check for it is unhelpful to say the...
  8. Maybe obvious, but could you not do toString() on...

    Maybe obvious, but could you not do toString() on the numbers BEFORE storing then in the arrays?
  9. Replies
    13
    Views
    1,577

    12 meters off for me

    12 meters off for me
  10. Replies
    13
    Views
    1,577

    Your script works fine you just missed a closing...

    Your script works fine you just missed a closing curly brace on your getLocation function. Don't know what GPS would have to do with navigator.geolocation - you can ignore that comment. As far as...
  11. More detail please. What don't you understand...

    More detail please. What don't you understand about elements?
  12. just out of curiosity... being that javascript...

    just out of curiosity... being that javascript can be turned off in the browser which renders redirect scripts completely ineffective, is there some reason why you want to do this in javascript?
  13. You could do it in javascript but it would make...

    You could do it in javascript but it would make more sense in an htaccess file:
    http://tltech.com/info/referrer-htaccess/
  14. Replies
    4
    Views
    1,099

    you may find the code posted in this thread to be...

    you may find the code posted in this thread to be useful...
    http://www.webdeveloper.com/forum/showthread.php?352859-Problem-with-printing-form&p=1459455#post1459455
  15. Replies
    42
    Views
    4,093

    This from the guy who just posted some other page...

    This from the guy who just posted some other page 'cos he couldn't find the one he was talking about. :eek:

    Uh huh.
  16. It may make more sense to set the select options...

    It may make more sense to set the select options at the time you are setting the value of the div. Do you have control over that?
  17. Replies
    42
    Views
    4,093

    Sounds to me like you are making provisions for...

    Sounds to me like you are making provisions for an edge case that is somewhat rare (if I understand it, when the head loads but the body fails to).

    Regardless, I'd like to see an example of a...
  18. Replies
    42
    Views
    4,093

    It works the same. Html parsing will pause while...

    It works the same. Html parsing will pause while the script tag contents are parsed. Because a script tag (and its contents) are just html at that point.

    Head or body, no difference. The only...
  19. Replies
    42
    Views
    4,093

    Geez, you have a hard time listening, don't you?...

    Geez, you have a hard time listening, don't you? I just said why serving up a non-mobile friendly site and ASKing the user if they want to see the mobile version will penalize you in google search...
  20. Replies
    42
    Views
    4,093

    No. Read the page again. The HTML file will be...

    No. Read the page again. The HTML file will be parsed until the script file is hit. So if the script is in the head the parser will remain at the head level until all the script has been parsed, at...
  21. Replies
    42
    Views
    4,093

    You have completely misunderstood what that page...

    You have completely misunderstood what that page is saying.
  22. Replies
    42
    Views
    4,093

    yes, it has to parse regardless of if it is in...

    yes, it has to parse regardless of if it is in the head or the body. It makes no difference. The only difference is that if you put it in the <head> the user doesn't see the visible elements (text...
  23. Replies
    42
    Views
    4,093

    Either you explained that really badly or you...

    Either you explained that really badly or you have it completely the wrong way around. A "complete" DOM is once all the tags have been parsed, so in that way it makes no difference where the script...
  24. Replies
    42
    Views
    4,093

    Well, of course you will see the - we are...

    Well, of course you will see the <b> - we are asking for the innerHTML - if we were asking for the innerText/textContent the <b>'s would not appear

    The caching argument applies across the board -...
  25. Replies
    42
    Views
    4,093

    @Kevin2: agreed on point 1. Thank you for saving...

    @Kevin2: agreed on point 1. Thank you for saving me the effort of typing that out :D

    I'm a fan of the querySelectors, too, but only in special cases where the elements are otherwise hard to get...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles