Greetings, js masters. I have a simple page with iframe. In this frame there are a three input fields, which user fill in. How to get this data in every input field with js?
Here is js:
<script type="text/javascript"> var ticket = window.frames[0].document.getElementById('ticket').ticket; alert(ticket); </script>
And i have inside frame:
<input type='text' name='ticket' id='ticket'...
Nothing happens when i fill all 3 inputfield and press ok. How to save this data, which filled in this input fields to .txt file, than i can grab this txt by php and fill into database.
Thanks