www.webdeveloper.com

Search:

Type: Posts; User: tenfold

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds; generated 7 minute(s) ago.

  1. Replies
    3
    Views
    1,393

    AJAX Find out which line it is and find out what is...

    Find out which line it is and find out what is undefined.
  2. Replies
    2
    Views
    1,061

    Do you only plan for it to work on IE?

    Do you only plan for it to work on IE?
  3. Replies
    2
    Views
    2,917

    Solved over here:...

    Solved over here: http://www.codingforums.com/showthread.php?t=302998
  4. Replies
    8
    Views
    5,681

    Ok, good luck making it.

    Ok, good luck making it.
  5. Replies
    3
    Views
    3,303

    Boolean String Number Object null undefined

    Boolean
    String
    Number
    Object
    null
    undefined
  6. Replies
    9
    Views
    6,019

    Did you try the other replies' code?...

    Did you try the other replies' code?...
  7. Replies
    2
    Views
    1,455

    Probably client side. $$reason$$ is just a...

    Probably client side.

    $$reason$$ is just a regular variable.
  8. Replies
    13
    Views
    9,592

    Ah, IE. Yeah that's why it isn't working. IE7...

    Ah, IE. Yeah that's why it isn't working. IE7 doesn't have Array.prototype.indexOf
    A local version can be used, though, replicating the functionality of it.

    Try this: http://pastebin.com/mGghxqXw...
  9. Replies
    13
    Views
    9,592

    Sorry, it just looked like homework. Don't take...

    Sorry, it just looked like homework. Don't take it personally.

    This is how I might do it.


    var intMax = 5, intCur = 0;
    var intStart = 0, intStop = 10, intInc = 10;
    var maxIter = 50, curIter;...
  10. Replies
    9
    Views
    6,019

    Firstly, your output can only be 1-9 with your...

    Firstly, your output can only be 1-9 with your method. It will never return 10.

    Secondly, if you want to do it that way, you can, but the times where you don't want it to return a number, it will...
  11. Replies
    13
    Views
    9,592

    Sounds like homework. I'll help you fix code, but...

    Sounds like homework. I'll help you fix code, but I won't do your homework, no offense.
  12. Replies
    3
    Views
    3,301

    You can use a regular expression, yes. ...

    You can use a regular expression, yes.


    document.body.innerHTML = document.body.innerHTML.replace( /^[A-Za-z]\S*$/ , '@');
  13. Replies
    1
    Views
    1,333

    There's no right answer for this, but one way you...

    There's no right answer for this, but one way you could do it is have an HTML element that you can change the text of with JavaScript.


    HTML code:

    <span id="info"></span>


    JavaScript code:
  14. Nope, no difference at all :) Cheers.

    Nope, no difference at all :) Cheers.
  15. Nah. When you don't use quotes (aka. pass a...

    Nah. When you don't use quotes (aka. pass a string), you attempt to pass a reference of the variable instead, not a string.
    The number works because it's simply that, a number. It's not a variable;...
  16. Replies
    3
    Views
    3,656

    Can you show your code?

    Can you show your code?
  17. Replies
    3
    Views
    4,218

    window.getSelection().toString()

    window.getSelection().toString()
  18. Replies
    6
    Views
    4,841

    I've been reading your thread, I just don't know...

    I've been reading your thread, I just don't know much about xhr or how to solve your problem.

    Can you post the full code you're testing? I see 'return true' but not inside a function, which should...
  19. Replies
    3
    Views
    1,586

    document.write isn't a JavaScript function. It's...

    document.write isn't a JavaScript function. It's a DOM method.

    Anyways... what the other posters said is correct. Put all your code in that script.js file, or use a separate script tag.
  20. Replies
    4
    Views
    1,379

    I don't know why you asked about strings when...

    I don't know why you asked about strings when you're clearly asking about numbers.

    You can just subtract 1 from your number, like so


    quantity_in_stock_S -= 1;

    is the same as
  21. I don't work much with cookies, but you could...

    I don't work much with cookies, but you could probably do it.

    Just take document.cookie and split(';') then you have your key:value pairs right there.
  22. Replies
    9
    Views
    10,298

    I use Notepad++. Great program for what I do with...

    I use Notepad++. Great program for what I do with it.




    Ah, yes. So easy to miss syntax errors without an error console :p
  23. Replies
    9
    Views
    10,298

    Check your error console, always. You have a...

    Check your error console, always.

    You have a syntax error on this line (capitalization problem with getElementById):

    var goButton = document.getElementByID("goButton");


    And another one on...
  24. Replies
    1
    Views
    3,649

    Hello. You can use setAttribute for most of...

    Hello.

    You can use setAttribute for most of that.


    <head>
    <script type="text/javascript">
    function mobileversion() {
    var link = document.getElementById('mobilev1');
  25. Replies
    3
    Views
    2,353

    Nice. I don't want to confuse you, but if you...

    Nice.

    I don't want to confuse you, but if you have the images named like that, you could get rid of that array.


    var i = 1, slider;

    function time() {
    slider =...
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles