Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-05-2011, 05:21 AM   PM User | #1
kaif khan
New to the CF scene

 
Join Date: Mar 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
kaif khan is an unknown quantity at this point
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.
kaif khan is offline   Reply With Quote
Old 03-05-2011, 05:24 PM   PM User | #2
MarPlo
Regular Coder

 
Join Date: Mar 2011
Posts: 145
Thanks: 0
Thanked 20 Times in 20 Posts
MarPlo is an unknown quantity at this point
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';
MarPlo is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:50 AM.


Advertisement
Log in to turn off these ads.