Results 1 to 2 of 2
Retrieve Windows username Forum: PHP ForumReplies: 3
05-14-2005, 04:54 PM #1
Hi everyone !
'target_name' is variable. I'd like to retrieve
'document.target_name.src'. The hereunder way doesn't work. Could you
let me know an efficient one, please (i know how to do it the getelementbyid way : it's not the way i am looking for) ?
target_name='imageimage' // NB: 'target_name' is variable; it is fixed
for the needs of the demonstration.
Thanx for your help !
05-16-2005, 11:24 AM #2
Re: Retrieve 'document.target_name.src'...
what's your goal?
there is an array of images in the document node, also there is a associative array called all(for ie), both are accesible by the image name. The best way is getElementbyId 'cause it is the standard way!
Last edited by juanmanuel; 05-16-2005 at 11:27 AM.