I have a radio buttons group and if someone click (onclik=) I call a javascript function that put some results in textfields in function of what radio button is clicked(check) I want to put initial some results in the textfield(automate). So I need an event something like "oncheck" execute function and put the initial results.Exist such a event?(I can use another function to check but Itry without other function)
yes, there's such events: onCheck, onunCheck, so you can use this to fill the results. or you can just process onclick and check if this.checked=true or not.
I don't quite get it. You could use PHP or ASP to insert the initial values inot the textfields, so that they are there when the page loads. Other than that, I don't see a difference between onclick and oncheck...why not use the event "document.onload" ?