dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Mahmed1

Search: Search took 0.01 seconds.

  1. Replies
    29
    Views
    4,394

    Salaam Thank you Appreciated

    Salaam

    Thank you

    Appreciated
  2. Replies
    29
    Views
    4,394

    Again thank you soooo much I appreciate you...

    Again thank you soooo much

    I appreciate you being patient
  3. Replies
    29
    Views
    4,394

    Thank u Appreciate all ur help God bless you

    Thank u
    Appreciate all ur help
    God bless you
  4. Replies
    29
    Views
    4,394

    OMD wat a plunka i am I get it now.... I think...

    OMD wat a plunka i am

    I get it now.... I think

    Span is a child (2nd) of the p tag but because there is only an option for firstchild and lastchild, i cant access it directly using this method...
  5. Replies
    29
    Views
    4,394

    So its not the 2nd child of the p tag but is a...

    So its not the 2nd child of the p tag but is a sibling to the text node which i clearly understand but dont understand why it is not a 2nd child to p tag even though it looks like it is
  6. Replies
    29
    Views
    4,394

    My confusion was that span looks loke the 2nd...

    My confusion was that span looks loke the 2nd child of the P tag and i am aware that it is a sibling to the text but but why could i just have not accessed it as the 2nd child as the p tag but have...
  7. Replies
    29
    Views
    4,394

    Sorry and i appreciate your help So even though...

    Sorry and i appreciate your help
    So even though it is like the span is a child of the P tag, because it is in the same level as the text note you can only access it the way i am by its siblings?
  8. Replies
    29
    Views
    4,394

    Thank you I understand Siblings but dont no...

    Thank you

    I understand Siblings but dont no why the span is a sibling and not a child and why i need to access as sibling rather than the child if P tag


    Code:
    <p id="test">
    This
    <span...
  9. Replies
    29
    Views
    4,394

    Hi thank you I understand it thanks to you but...

    Hi thank you

    I understand it thanks to you but still unsure about the span tag and why its classed as sibling rather than a child?

    Just so i no in future, is it a case of
    If any tags are...
  10. Replies
    29
    Views
    4,394

    Hi i wanted to just get more of an understanding...

    Hi i wanted to just get more of an understanding of the DOM and nodes

    Can you please advise if i am understanding it with my prior explanation
  11. Replies
    29
    Views
    4,394

    Oops i meant this code refers to IS var p =...

    Oops i meant this code refers to IS

    var p = document.getElementById('test);

    var s = p.firstChild.nextSibling.firstChild
  12. Replies
    29
    Views
    4,394

    Or is this correct Code: ...

    Or is this correct


    Code:
    <p id="test">
    This
    <span id="span">is</span>
    a test.
    </p>
  13. Replies
    29
    Views
    4,394

    Thank you I kind of understand the firstchild...

    Thank you

    I kind of understand the firstchild and lastchild

    If i have a text note iN a p tag and also a span tag
    Am i right in saying the span tag is the 2nd child or is it a sibling?
  14. Replies
    29
    Views
    4,394

    Hi canyou please explain how this works and what...

    Hi canyou please explain how this works and what is the first child, next sibling etc with the example you have given


    var p = document.getElementById('test);
    var s =...
  15. Replies
    1
    Views
    720

    Can this be done to make it secure

    Hi All,

    With Javascript, can i put the javascript in another file and folder to make it more secure so the users cant see the javasript file the the HTML is linked to? What mākes PHp more secure...
  16. Replies
    29
    Views
    4,394

    Thank You...so its just a reference to that P tag...

    Thank You...so its just a reference to that P tag

    If i had other tags within the p tag i wanted to get some information, would i use innerHtml or Innertext?
    What is the difference between the 2?...
  17. Replies
    29
    Views
    4,394

    Bump please anyone

    Bump please anyone
  18. Replies
    29
    Views
    4,394

    Javascript newbie on getelement

    Hi

    This is my 1st post so apologies for any errors in posting
    I am new to javascript and wanted to know this

    Say i had html code like this

    <p id="Test">This is my test</p>

    And javascript
Results 1 to 18 of 18
HTML5 Development Center



Recent Articles