Jump to content

Search the Community

Showing results for tags 'getelement'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 1 result

  1. I have a test script in a submit form which gets the latest text value of a dropdown and puts it into another field dynamically using onmouseover. Virtual2 has the dropdown table. ************ <script type="text/javascript" language="javascript"> document.getElementById('Submit').onmouseover = function() { var hour = (document.getElementById('cbParamVirtual2').value); document.getElementById('InsertRecordLastallocagent').value = "Hello " + hour; }; </script></body></html> ************** When I try to use a similar script in an Update form - I change to "Insert" "Edit" ElementById to ElementsByName [0] and I've set up a checkbox Virtual2 which triggers the input to Lastallocagent but it gives me "Hello" + the first (default) entry in the dropdown table in Virtual1 rather than changing to the agent I select from the dropdown ********* <script> var hour = (document.getElementsByName('cbParamVirtual1')[0].value); document.getElementById('cbParamVirtual2').onchange= function g_date() { document.getElementById('EditRecordLastallocagent').value = "hello" + hour; }; </script> *************** I've been at it all day - any help would be appreciated Thanks
×
×
  • Create New...