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 3 of 3
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    JS problem - hidden input taking no value in Chrome and Safari (Windows)

    Hello,

    I have a web app which allows users to select multiple items from a select tag. I then call a JS function on submit which collects all the options they've selected and then adds them to the value attribute of a hidden input. The options selected are then used at a later time. This works fine on IE and Firefox, but both Chrome and Safari for not adding the selected values to the value attribute of the hidden input. Are there any JS issues for Chrome and Safari that could be responsible for this? Any help is appreciated.

    Apologies for lack of detail, but can't post the code.
    Last edited by kareems; 05-15-2009 at 08:27 PM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Apologies for lack of detail, but can't post the code.
    Apologies... we can't guess your code.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    We have no magic bowl, thus if no code, no solution.

    There are many differences, bugs, incomplete or wrong implementation of standard javascript (ECMAScript and DOM) in all the browsers. On the other hand you might have done a HTML or javascript error, how could we know without seeing the code, or the relevant part of it? What, for Earth, could be so secret in that damned code?
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

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