dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: DaveyErwin

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    439

    test.php ...

    test.php ...


    <?php
    header("Content-type: text/xml");
    echo "<?xml version='1.0' encoding='UTF-8'?>";
    echo file_get_contents("http://www.fandango.com/rss/comingsoonmovies.rss");
    ?>
  2. /* create event listners */ function...

    /* create event listners */
    function createEventListerners() {
    var form = document.getElementByTagName("form")[0];

    getElementsByTagName
  3. Hope this helps ... ...

    Hope this helps ...



    $(document).ready(function() {
    $.ajax(
    'babynames.php',
    { 'type': "GET",
    'data': {"type":"list"},
    'success': showNames,
  4. http://daveyerwin.com/names.htm

    http://daveyerwin.com/names.htm
  5. Try this ... ...

    Try this ...

    <!doctype html>
    <html>
    <head><title>ajax</title></head>
    <body>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <script>
    $.ajax(
    ...
  6. //add the names into the list var names =...

    //add the names into the list
    var names = $(data);

    should be ...

    //add the names into the list
    var names = data;

    function disMeaning(ajax){
    var meaning = $(ajax);
  7. $.ajax( 'babynames.php', { "type": "GET", ...

    $.ajax(
    'babynames.php',
    {
    "type": "GET",
    "data": {delay: 2},
    "success": showNames,
    "error": ajax_failed
    });

    // hide loading image
  8. Replies
    12
    Views
    2,286

    jQuery Well nobody uses facebook any more, because of...

    Well nobody uses facebook any more,
    because of all that traffic on their
    servers.

    If your ajax response looks like this ...
    <script>alert("from ajax response")</script>
    and you do innerHTML =...
  9. Replies
    6
    Views
    1,269

    woops sorry var farbshuffle = new Array(farbe)...

    woops sorry
    var farbshuffle = new Array(farbe)
    is wrong:(
    this is the way it should be
    var farbshuffle = farbe.slice();
  10. Replies
    6
    Views
    1,269

    this will fix your problem ... function...

    this will fix your problem ...

    function myFunction() {
    var farbe = new Array("a", "b", "c", "d");
    var farbshuffle = new Array(farbe)
    var arrayLang = farbe.length;
    var farbshuffle =...
  11. There is your solution, where it is "brought in"...

    There is your solution,
    where it is "brought in"
    you can edit it before
    it is applied to the
    html.
  12. How will you include the JavaScript ?

    How will you include
    the JavaScript ?
  13. yes

    yes
  14. it's because you wouldn't let me pass data so I...

    it's because you wouldn't let
    me pass data so I had to
    get it another way
  15. Here ya go... ...

    Here ya go...




    <!DOCTYPE html>
    <head>
    <meta charset="UTF-8">
    </head>
    <body>
  16. No you are not running the same code try copy...

    No you are not
    running the same code
    try copy and paste
  17. See this page ... http://daveyerwin.com/f.htm

    See this page ...

    http://daveyerwin.com/f.htm
  18. Try this code ... ...

    Try this code ...



    <!DOCTYPE html>
    <head>
    <meta charset="UTF-8">
    </head>
    <body>
    <ul id="data">
  19. Replies
    1
    Views
    1,183

    this is the main problem ... xmlHttp = new...

    this is the main problem ...
    xmlHttp = new XmlHttpRequest();
    dhould be ...
    xmlHttp = new XMLHttpRequest();
  20. Replies
    3
    Views
    1,001

    as You already know this works ... var start; ...

    as You already know this works ...
    var start;
    if (start)
    clearInterval(start);
    start=setInterval("turn()",400);

    this does not work ...
    var go;
    if (go)
    clearInterval(go);
  21. Replies
    3
    Views
    1,344

    function findCode(str) { for (i = 0; i

    function findCode(str) {
    for (i = 0; i < str.length; i ++) {
    console.log(str.charCodeAt(i))
    }
    }
    findCode("ABCDE");
  22. Replies
    2
    Views
    1,202

    The code in red (inner function) is never...

    The code in red (inner function)
    is never called, the outer function
    has no return so undefined.



    function scores(web,pattern) {
    function score(string,pattern) {
    var count=0,
    ...
  23. Thread: CoTangent

    by DaveyErwin
    Replies
    4
    Views
    1,115

    cotangent is the reciprocal of tangent so ......

    cotangent is the reciprocal of tangent
    so ...
    one divided by tangent equals cotangent
  24. Replies
    2
    Views
    1,125

    this has to be inside tags ......

    this has to be inside <script></script> tags ...
    echo "var item = [".$row['Item1'].", ".$row['Item2'].", ".$row['Item3'].", ".$row['Item4']."]";
    echo "var str = item.join(",")";
  25. Replies
    1
    Views
    557

    the red part is a function definition, it does...

    the red part is a function
    definition, it does not run until
    called by the green code ...


    geocoder(address, function(results){
    addressLat1 = results[0].geometry.location.lat(); ...
Results 1 to 25 of 83
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles