www.webdeveloper.com

Search:

Type: Posts; User: me10lee83

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,003

    Validate data in a function

    I have a form with 3 fields. When the user hits the submit button, it calls a function which calculates the 3 fields together. I also have functions to validate the data in each field. Currently the...
  2. Replies
    10
    Views
    15,959

    I got it to work, below is the code. Problem was...

    I got it to work, below is the code. Problem was my footer.html file had <html>, <body>, etc tags in it, instead of just the text and any span tags.

    The assignment is to load create a header,...
  3. Replies
    10
    Views
    15,959

    Ok just realized you don't put in the...

    Ok just realized you don't put <script> in the script file (duh).
    So only question is, how do I accomplish this where instead of the variables equaling a string, it loads an html file
  4. Replies
    10
    Views
    15,959

    Also, I tried using your code with the external...

    Also, I tried using your code with the external files and it doesn't seem to be working... here's what I have (all files are in the same ffolder)


    <!DOCTYPE HTML>
    <html>
    <head>
    <title>...
  5. Replies
    10
    Views
    15,959

    Here are some of the links I was using as a...

    Here are some of the links I was using as a reference before http://docs.jquery.com/Ajax/load and http://stackoverflow.com/questions/3535055/load-html-file-contents-to-div-without-the-use-of-iframes
  6. Replies
    10
    Views
    15,959

    Thanks that does work, but what about loading...

    Thanks that does work, but what about loading contents from an HTML file instead of a javascript file? (Ok to have the javascript itself in an external script file, but I'm trying something for a...
  7. Replies
    10
    Views
    15,959

    Btw, I'm using jquery. I had

    Btw, I'm using jquery. I had <script src="jquery-1.9.1.min.js"></script> as a seperate tag, I've updated the open tag above to <script type = "text/javascript" language = "JavaScript"...
  8. Replies
    10
    Views
    15,959

    Insert HTML in a div

    I am new to Javascript and the very first thing I'm trying to do is to have a footer html file which will load in to the footer div on all pages. I have found several different code examples online...
Results 1 to 8 of 8
HTML5 Development Center



Recent Articles