www.webdeveloper.com

Search:

Type: Posts; User: dororo

Search: Search took 0.01 seconds.

  1. Thanks,vwphillips!you's code is very usful.

    Thanks,vwphillips!you's code is very usful.
    I made a mistake in my codes,and someone told me a very simple answer:p
    <button onclick="getText(document);">GetText</button> is not right.
    <button...
  2. HElP!Traversing the nodes of a document,but null in the strings!

    <html>
    <head>
    <title>createTextNode example</title>

    <script type="text/javascript">
    var i=0;
    function addTextNode()
    {
    var newtext = document.createTextNode(" Some...
  3. Replies
    6
    Views
    1,746

    totalEstimate -= guestsCost; first time,it's...

    totalEstimate -= guestsCost;
    first time,it's mean totalEstimate = totalEstimate-guestsCost;// totalEstimate=0-0;
    result:
    totalEstimate=0+first time input numGuest*65;
    second time,your change the...
  4. :o thanks Tcobb...but I don't know why this is...

    :o thanks Tcobb...but I don't know why this is illegal.
    I am reading <javascript: the definite guide>section7.3


    Section 7.3. Objects as Associative Arrays
    You've seen the . operator used to...
  5. help: object.property==object["property"] ? true

    var a={};
    var i=0;
    while(i<10){
    a[i]=i*i;
    i++;
    }
    //work!
    if (a.["5"]==25)
    alert("success");
    //error!
Results 1 to 5 of 5
HTML5 Development Center



Recent Articles