Menu
Hey guys,
Just wondering if it is possible to return the value of multiple elements in one command? If that didn’t make sense, which it probably doesn’t because i’m an idiot, here is an example:
Original code is
[CODE]var aText = document.getElementById(‘textarea1’).value;
Which works nicely, but looking to return the value of three –
[CODE]var aText = document.getElementById(‘textarea1’, ‘textarea2’, ‘textarea3’).value;
Which doesn’t work obviously. Just not sure how to do it, heh. Any help would be muchly appreciated! Thanks guys ?