dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: DaveyErwin

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    737

    This.getPersonProperty is a property available...

    This.getPersonProperty is a property
    available to object instance.
    Because var personProperty
    and var getPersonProperty
    are defined with the var
    keyword, neither are available
    outside the...
  2. Replies
    4
    Views
    1,352

    <form style="text-align: center; margin: 0 auto;" onSubmit = "check(this)" action = "http://www.google.com" >
    sorry should be
    <form style="text-align: center; margin: 0 auto;" onSubmit = "return...
  3. Replies
    4
    Views
    1,352

    ...

    <!DOCTYPE html>
    <html>
    <head>
    </head>
    <body>
    <form style="text-align: center; margin: 0 auto;" onSubmit = "check(this)" action = "http://www.google.com" >
    Username: <input name="name"...
  4. Replies
    2
    Views
    663

    As iBeZi has said this only gets the ones that...

    As iBeZi has said this
    only gets the ones
    that have been set ...

    <!DOCTYPE html>
    <html>
    <head>
    </head>
    <body>
    <input id="textInput" placeholder="hiyas"><br>
  5. xx

    xx
  6. I suspect you are executing this code before the...

    I suspect you are executing this code
    before the document is loaded.


    //Register the event handlers for validator.js
    document.getElementById("decorForm").onSubmit = chkFields;

    The above code...
  7. Replies
    1
    Views
    622

    ...

    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Dog</title>
    <script>
    var fido = {
    name: "Fido",
    weight: 20.2,
    ...
  8. Replies
    21
    Views
    849

    Thank you for the very clear explanation it has...

    Thank you for the very clear
    explanation it has removed
    all confusion.
  9. Replies
    21
    Views
    849

    function isPrime(){var greet="hiyas";} ...

    function isPrime(){var greet="hiyas";}
    checkPrime = isPrime;
    alert(checkPrime)//alerts function isPrime(){var greet="hiyas";}

    so it seems
    checkPrime and isPrime
    refference the same object...
  10. Replies
    21
    Views
    849

    when calling foo as a constructor this will...

    when calling foo as a constructor
    this will refer to the newly
    created object so yes
    i beleive
    calling foo as a constructor (creating a new object obj)
    this === obj (the function is being...
  11. Replies
    21
    Views
    849

    var checkPrime = new isPrime(5); ...

    var checkPrime = new isPrime(5);



    checkPrime is not a reference to isPrime
    checkPrime is a newly created object
  12. I should have said ... I would be interested...

    I should have said ...

    I would be interested to see
    a simple example of script
    being executed that is located
    in a complete html/xhtml doc
    that is loaded by the XMLHttpRequest

    After the...
  13. <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Index page</title>
    <script>

    var urls = new...
  14. Replies
    21
    Views
    849

    No it is not isPrime, it is checkPrime

    No it is not isPrime,
    it is checkPrime
  15. Replies
    21
    Views
    849

    function isPrime( num ) { ...

    function isPrime( num ) {
    alert(this===window)//alerts true
    }
    isPrime( 3 )

    this equals window Not isPrime


    function isPrime( num ) {
    this.obj = this;
  16. The xml doc is a seperate entity from the...

    The xml doc is a
    seperate entity
    from the html/xhtml
    doc the html doc
    wont run javascript
    that is in the xml doc

    can you build a very
    simplified html that
    loads an external file
  17. which are parsed in the xmlResponse property ...

    which are parsed in the xmlResponse property

    what does that mean?
    how is it "parsed"?
  18. ...

    <!doctype html>
    <html>
    <head>

    <title></title>
    <script type="text/javascript">


    function load()
    {
  19. I believe your server needs to send this header...

    I believe your server
    needs to send this header
    'X-XSS-Protection: 0'
    see if this thread describes
    your situation
    http://www.codingforums.com/showthread.php?t=253796
  20. Replies
    3
    Views
    167

    ...

    <!doctype html>
    <script language="javascript">
    var a='103333-7'
    var b='103363-0'
    var c='103331-2'
    var d = '203331-2'
    collapse(a,b,c,d)
    collapse(a,b)
    function collapse(){
    var arg =...
  21. This code shows that your use of 'this' will...

    This code shows that your use
    of 'this' will refference the
    window object which
    has no style
    property


    <!DOCTYPE html>
    <body>
    <script type="text/javascript">
  22. Replies
    2
    Views
    559

    var inputCheck =...

    var inputCheck = document.getElementsByTagName("input");
    for( i = 0; i < inputCheck.length; i++) {
    inputCheck[i].onclick = function() {
    this.setAttribute('select', 'ok');
    }
    }
  23. Replies
    14
    Views
    1,600

    He's pointing to tgis ... function myFlag(...

    He's pointing to tgis ...


    function myFlag( state ){
    var cp = this.constructor.prototype;
    alert(this===window)
    if( state !== undefined )
    cp.flag = !!state;

    return...
  24. Replies
    4
    Views
    1,068

    var calc = (function(){ var a; var b;...

    var calc = (function(){
    var a;
    var b;
    return {
    add: function(){
    return a+b;
    },
    subtract: function(){
    return a-b;
    },
  25. Replies
    2
    Views
    442

    var w = rec[value]

    var w = rec[value]
Results 1 to 25 of 31
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles