Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    74
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Why won't this work in IE7??

    I am novice and thought I was doing well to get my price calculator form working - but I have just checked it in IE 7 and it doesn't work, it works perfectly in Firefox.

    The problem is with these three lines which aren't posting the values to the form elements:
    Code:
    document.remoteadd.price.value=formatAsMoney(frametotal);
    document.remoteadd.image_size.value=width +"mm X " + height +"mm";
    document.remoteadd.glass.value=glasstype;
    Is there any reason why IE7 doesn't like them whilst firefox does.

    Thanks
    Rob

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Could you post your complete javascript along with its corresponding html?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    74
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Problem solved - duplicate form name.

    Thanks
    for your help
    Last edited by robbiez; 12-19-2008 at 02:13 PM.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Sorry, I can't parse your php code to generate its corresponding html. Please post the parsed output taken from browser's view source option.

    btw,
    Code:
     var width=eval(document.size_input.width.value)
       var height=eval(document.size_input.height.value)
       var glass = width + height
    What's the purpose of the above code?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •