www.webdeveloper.com

Search:

Type: Posts; User: Jona

Page 1 of 20 1 2 3 4

Search: Search took 0.16 seconds.

  1. jQuery Glad you got it figured out.

    Glad you got it figured out.
  2. jQuery Hi, If you are using this Autocomplete plugin...

    Hi,

    If you are using this Autocomplete plugin for jQuery, then you need to revise your code according to the documentation. However, based on your code, it looks like you're using some other...
  3. Replies
    5
    Views
    2,303

    I don't see why arrays would be necessary, since...

    I don't see why arrays would be necessary, since all you need to know are the current properties and the desired properties. All of the data you mentioned would be stored as properties of the object...
  4. jQuery Hi, This appears to be a typo error....

    Hi,

    This appears to be a typo error. JavaScript is case-sensitive. See the bold line in the code below. Also, I would recommend changing the id of your variable from "id" to something more...
  5. Replies
    5
    Views
    2,303

    Hi, 1. "Morph a div element" implies that you...

    Hi,

    1. "Morph a div element" implies that you will be maintaining its rectangular shape, but redrawing its dimensions. Is that correct? Changing it into a different shape would require one or more...
  6. Replies
    8
    Views
    2,146

    Hi, It's hard to debug just with that error...

    Hi,

    It's hard to debug just with that error message. If jQuery is not defined, then either the library link points to a non-existent resource (the path is incorrect) or the resource you're...
  7. Replies
    8
    Views
    2,146

    Hi, It's a simple typo. elseif should be...

    Hi,

    It's a simple typo. elseif should be separated into the two separate words: else and if.
  8. Replies
    5
    Views
    2,303

    Hi, What are you tweening? The motion of an...

    Hi,

    What are you tweening? The motion of an object, or an object itself (morphing)? What kind of object is it?
  9. Replies
    3
    Views
    5,432

    Hi, You can get the width/height dimensions by...

    Hi,

    You can get the width/height dimensions by opening the Info pane (F8, I believe) and Ctrl/Cmd+Clicking the layer to select it.
  10. Replies
    2
    Views
    2,014

    When interpreted in a browser, JavaScript can't...

    When interpreted in a browser, JavaScript can't define where the file should be saved to because it doesn't have access to the file system. When you try to save the canvas image, it is the browser...
  11. Replies
    5
    Views
    2,043

    It's tricky. Just pay attention to the scope and...

    It's tricky. Just pay attention to the scope and it makes sense. The notation above is the same as the following.



    var x = new Object();
    x.a = a;
    x.b = b;


    . . . which is also the same...
  12. Replies
    7
    Views
    1,283

    No problem. Glad you figured it out. :)

    No problem. Glad you figured it out. :)
  13. Replies
    5
    Views
    2,043

    They can be the same name. var a = 'this...

    They can be the same name.



    var a = 'this is a', b = 'this is b';

    var x = {
    a: a,
    b: b
    }
  14. Replies
    7
    Views
    1,283

    Put the "selectedResult" div beneath the select...

    Put the "selectedResult" div beneath the select element in your HTML code. This isn't a JavaScript question.
  15. Replies
    7
    Views
    1,283

    <select name="test" onchange="showSelected(this.options[this.options.selectedIndex].value)" id="Select1">
  16. Replies
    1
    Views
    1,111

    Hi, You cannot put an "else if" after an...

    Hi,

    You cannot put an "else if" after an "else." The "else" is a final, catch-all condition. You should put your "else if" as a nested "if" statement within your "else" statement.

    Example:

    ...
  17. Hi, The idea is to identify the sequence and...

    Hi,

    The idea is to identify the sequence and then transmit arguments to each function as you call it. Note that the following code will only work one time; after the length of your sequence has...
  18. Replies
    2
    Views
    2,304

    $("#status p").fadeOut(4000, function (){ ...

    $("#status p").fadeOut(4000, function (){
    $(this).fadeIn(1500);
    });
  19. Replies
    2
    Views
    2,573

    Hi, You are missing a forward slash at the...

    Hi,

    You are missing a forward slash at the beginning of your Regular Expression, and quotes around your replacement value. Try something like the following.


    ...
  20. Replies
    5
    Views
    1,151

    You could convert it to a string and then use the...

    You could convert it to a string and then use the substr() method to extract the first two letters, or you could perform a mathematical operation by using a combination of toFixed(-3) / 1000.
    ...
  21. jQuery There's not really a "one-liner." Although the...

    There's not really a "one-liner." Although the following code could fit into one line, it's still an iterative command (loop).



    var response = [];

    $("*[class^='arete']").each(function (){
    ...
  22. jQuery Hi, Have you tried using .get()...

    Hi,

    Have you tried using .get()?



    var response = $("*[class^='arete']").get();
  23. Replies
    20
    Views
    3,221

    Understood. Just trying to be helpful and provide...

    Understood. Just trying to be helpful and provide more information/reading on the topic. :)
  24. Replies
    20
    Views
    3,221

    Hi, You can use a for .. in loop to iterate...

    Hi,

    You can use a for .. in loop to iterate through a DOM node list or object without returning its native properties by using the hasOwnProperty method. Further reading:...
  25. Replies
    4
    Views
    1,579

    Happy to help!

    Happy to help!
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles