Displaying 2 results from an estimated 2 matches for "cbchecked".
Did you mean:
cbunchecked
2006 Jul 14
3
Rails newbie: How does the submit_tag work?
...- Beginning of JavaScript -
function checkboxClick(element) {
inputValue = element.firstChild
if (inputValue.getAttribute ("value") == "off")
{
inputValue.setAttribute ("value", "on")
element.setAttribute ("background","/images/cbChecked.png");
}
else {
inputValue.setAttribute ("value", "off")
element.setAttribute ("background","/images/cbUnchecked.png");
}
}
// - End of JavaScript - -->
</SCRIPT>
<h1><%= @quizrun.quiz.name %></h1>
<h2>&...
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
Thank you in advance.
Although I have many years of experience in general, including cross-
platform processing, I am not an HTML/Javascript programmer. As a
result, I do not have certain specific baseline skills and/or knowledge
that are presumed in the Rails and Ajax documentation.
I am experienced with DOM manipulations, so the bare mechanics of
manipulating the browser GUI via Javascript