Hi everyone,
I build a form using the inbuild Eclipse form editor. There are input fields and buttons as well. Everything is running fine but I really need to make some individual (functional and visual) changes. When I try to modify editor placed elements in my custom.js using the specific id of the form element nothing will happen. I inspected the HTML Output to really get sure that I am using the right element id. Then I created a button manually using JQuery in my custom.js file and changed the text value using the following snippet:
$('#bottomOfmyForm').before('<a href="index.html" data-role="button" id="newButton">Text</a>'); | |
$('#newButton' ).html('New Text'); |
This one is working but the same snippet with the exact element id of my editor placed button isn't working. Same thing for inputs fields and other form elements as well. Is it possible that I can only modify editor placed elements with the DOM method like:
document.getElementById();
So - what's going on here ? Where is my mistake ?
Greetings
Alex