I want to create a bookmarklet that fills the 1st, 2nd, 5th and 6th text fields with text, so I can use the tool on the site more easily, because I often use it and don’t remember the input. These are those who have this text in front."Vertrek gemeente :" , "Straat :", "Aankomst gemeente :" and "Straat :".
Let me give some test values (in order)
"gent"
"PATIJNTJESTRAAT"
"OOSTAKKER"
"HERMAN TEIRLINCKSTRAAT"
about site: this is a Dutch public transport site, you can enter your street and destination street, and then the web application will calculate which you should take and when you should take them.
about me: I am new to javascript. I know what you can use getElemenbyId, but there are a lot of scripts on this site, and therefore it makes it difficult to get an identifier. I know that there is a (firefox) addon + plugin that forces you to check the elements (to get the identifier). It was called firebug. Hope this helps. I'm not 100% sure that bookmarklets are a way to fix my problem, if you have other suggestions, feel free to answer (did I hear cookies can be a solution? Or maybe a Firefox addon?)
Thanks in advance if you can help get the code (javascript bookmarklet) for this or a possible solution. Thanks again if you provide me with the working code. Thank you, million, if you are so kind as to provide me the code and explain how it really works.