No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hello, I had a working ASP.Net (VB.Net) website which utilized a javascript routine during StartUp. It would do a document.getElementsByTagName("input"); to find all of the Input objects and then selectively work on their style values as initialization processing. It all worked fine. var elemInputs = document.getElementsByTagName("input"); for(var i = 0; …
Perhaps the following can help (note, not all code shown)... var elemInputs = document.getElementsByTagName("input"); for(var i = 0; i < (elemInputs.length-1); i++) { var inputField = elemInputs[i].name; if (document.getElementById(inputField).checked) { // Checked document.getElementById(priceField).disabled = false; // ENABLE the Price Field document.getElementById(priceField).style.display = ''; // SHOW the Price Field } else …
The End.
Dhugalmac