View Full Version : for one click two actions ?

kaif khan
03-05-2011, 06:21 AM

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. :(

03-05-2011, 06:24 PM
If no code, is hard to give an answer.
Maybe you can solve with:

document.getElementById('field1_id').value = 'some value';
document.getElementById('field2_id').value = 'other value';