Results 1 to 3 of 3
Jun 11, 2012, 04:44 #1
Accessing an element in iframe Not working. strange...
my document have form to ad candiates.
the form also has an iframe, in that an HTML file upload is kept. when a user uploads a file, on success, a div is shown telling upload success.
now, when the user completed the form, i am resetting the form element. so i want to make the text in the div mentioned about to be 'none'.
* res_cv_attach = div's id
This does not work
Jun 11, 2012, 06:41 #2
- Join Date
- Apr 2011
- 2 Post(s)
- 0 Thread(s)
Try with iframe.contentWindow .
var myIFrame = document.getElementById(iframe_id); myIFrame.contentWindow.document.getElementById('res_cv_attach').innerHTML = 'none';
Jun 11, 2012, 06:58 #3