dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: tpdietz

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    615

    Excellent! Thanks! -Tim

    Excellent! Thanks! -Tim
  2. Replies
    2
    Views
    615

    "Force" Download with User Approval

    Hi,

    We have links on our website that point directly to Excel spreadsheet files on our server. When the user clicks a link, It will display a dialog, asking if the user wants to Open or Save the...
  3. Replies
    4
    Views
    2,195

    Thanks for the reply. I guess we'll update the...

    Thanks for the reply. I guess we'll update the code when we need to.

    And, no, the file is not on the server, that's easy to get the size of. These are files on the client's machine that the...
  4. Replies
    4
    Views
    2,195

    Actually, I use the following JavaScript in...

    Actually, I use the following JavaScript in Firefox which works perfectly:

    document.getElementById('input_file_id').files[0].fileSize

    ActiveX works fine as well. I'm just wondering if they...
  5. Replies
    4
    Views
    2,195

    Detecting file size using JavaScript

    I see this has been asked but not answered 2 years ago. I have scoured the web and have realized that this can be done. My client is focused solely on Firefox and IE. I have gathered code to...
  6. Replies
    6
    Views
    5,927

    Very true. I didn't look any further than the...

    Very true. I didn't look any further than the first issue. At least he/she now knows what some of the bugs were ;)
  7. Replies
    6
    Views
    5,927

    And, just so you know, your loop: for (...

    And, just so you know, your loop:



    for ( var i = 0; i < inputs.length; i++ ){
    var inps = inputs[i];
    }
    if (inps != "undefinded") {
  8. Replies
    2
    Views
    1,298

    It's not pretty, but I think it will work for...

    It's not pretty, but I think it will work for what you're asking:



    select id, name, product product1, '' product2
    from transactions
    where product = 'ice cream'
    union
    select id, name, ''...
  9. Um, how about letting us see your code?

    Um, how about letting us see your code?
  10. Replies
    10
    Views
    1,981

    The problem I see is in this block: for...

    The problem I see is in this block:



    for (k=0;k&lt;dealers.length;k++)
    {
    alert("In the"+k+"th dealer");
    document.write(cities[i].childNodes[k].attributes.getNamedItem("Name").nodeValue);...
  11. In the first function, I see: var...

    In the first function, I see:



    var questionid = document.question.questionid.value;


    I do not see an assignment like that in the second function.
  12. Replies
    7
    Views
    1,378

    Sorry, but if you don't understand the basics of...

    Sorry, but if you don't understand the basics of scoping, you should find a good tutorial...One that I just found is at http://www.mredkj.com/tutorials/reference_js_intro_ex.html.
  13. Replies
    7
    Views
    1,378

    Well, someone else may need to answer the part...

    Well, someone else may need to answer the part about the php tags, but I'm assuming that the code at that link is HTML and any time you use PHP in the HTML you need to wrap in within <?php> <?> tags,...
  14. Replies
    7
    Views
    1,378

    For one thing, you're embedding PHP within the...

    For one thing, you're embedding PHP within the JavaScript and I don't see any PHP tags.

    Also, many of the variables used in your dataString are declared within the 'for' loop and therefore have no...
  15. Replies
    7
    Views
    1,378

    Appreciate the link, but it would be more helpful...

    Appreciate the link, but it would be more helpful if you could point to the relevant lines of code, so we don't have to sift through all 300 of them.
  16. I think it would help us if you posted the HTML.

    I think it would help us if you posted the HTML.
  17. Replies
    6
    Views
    2,690

    You need to post the full JavaScript code. We...

    You need to post the full JavaScript code. We can't tell if you set contactRight correctly or not.
  18. Your name.focus function is coded incorrectly. ...

    Your name.focus function is coded incorrectly. You need to put braces around the 'if' part of the statement:



    name.focus(function() {
    if(name.val("Your name")) {
    name.val("");
    editName();...
  19. Replies
    5
    Views
    1,841

    Sorry. Don't know about anybody else, but I need...

    Sorry. Don't know about anybody else, but I need to see the full form code as well as a description from you as to what exactly the pop-up contains.
  20. Replies
    4
    Views
    2,329

    First, if you want to call the function AFTER the...

    First, if you want to call the function AFTER the user enters a value, you need to use onblur instead of onfocus, which fires when the control GAINS the focus.

    Second, you might want to post the...
  21. Replies
    5
    Views
    1,841

    Can you give more detail as to what popup is...

    Can you give more detail as to what popup is displaying? I see two alert() calls in your code that will pop-up then the toggle() function is called.
  22. If you want the message to display when neither...

    If you want the message to display when neither radio button is checked, you might change it to:


    if ((Fname =="") || (Hphn =="") || (!document.indiv_reg.skill[0].checked &&...
  23. Replies
    13
    Views
    14,662

    AJAX From what I can tell, you're using the wrong...

    From what I can tell, you're using the wrong variable for the index to your array:

    Your code:


    for (var i = 0; n = nodes[i]; i++) {
    if (n.checked == true) {
    ...
  24. Replies
    7
    Views
    2,756

    Oops! Missed that link. Sorry, ignore my last...

    Oops! Missed that link. Sorry, ignore my last post.
  25. Replies
    12
    Views
    2,665

    Also, you are setting the display element...

    Also, you are setting the display element incorrectly in the onchange handler and using double-quotes while setting the display instead of single-quotes. Take a look at WolfShade's initial response.
Results 1 to 25 of 28
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles