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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    for one click two actions ?

    HI,

    I have the problem that, i want to populate the two fields on one ajax click.That means can i populate when i want to click on the list box it should populate two fields.

  • #2
    Regular Coder
    Join Date
    Mar 2011
    Posts
    148
    Thanks
    0
    Thanked 20 Times in 20 Posts
    If no code, is hard to give an answer.
    Maybe you can solve with:
    Code:
    document.getElementById('field1_id').value = 'some value';
    document.getElementById('field2_id').value = 'other value';


  •  

    Posting Permissions

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