![]() ![]() Is execute via 'eval' and document load listening ('observer') doesn't work I don 't want to use a document load listener so this can run easily inside ajax derived panels where the javascript this javascript has To go below the HTML above so the DOM exists before initialization Here's the code of the Upload function on the webpage: Each task individually seems like they should be really easy but I'm not sure. Maybe my approach is too simplistic but my view is that if I can just figure out how to populate the filename and click the Open button, I can let the browser itself handle uploading. I also have no idea how to click the 'Open' button in the IE file dialog window after I enter the filename. Item = ieDoc.getElementsByName("filename").Item(2)īut it doesn't do anything. ![]() If you like these VB formatting tags please consider sponsoring me in support of injured Royal MarinesĪnd I tried to input a filename by doing this: Item = ieDoc.getElementsByName("ELEMENT_NAME").Item(0).Click I have figured out how to do step #1 using this code: The file path on my computer is static and never changes (it's a placeholder file). Click the file dialog's 'Open' button to upload the file. The entry process happens over several pages. I am creating a macro that creates and submits an entry to a database. I know there is another Ozgrid thread with a similar problem, but it's old and my issue is different so here's a new thread. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |