<html>
<head>
<script type="text/_javascript_" src="">
</head>
<body>
<body>
<form>
<select id="id1">
<option value="">A</option>
<option>B</option>
<select id="id1">
<option value="">A</option>
<option>B</option>
</select>
</form>
<div id="id2""></div>
</body></form>
<div id="id2""></div>
<script type="text/_javascript_">
new Form.Element.EventObserver( 'id1',function(ele,value){
new Form.Element.EventObserver( 'id1',function(ele,value){
$('id2').innerHTML="test"; } );
</script>
</script>
</html>
On 10/23/06,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
thanks for the reply. however, this doesn't work either.. seems to be
loading forever. probably some dumb mistake i made but i just can't see
it now.. :-(
<html>
<head>
<script type="text/_javascript_" src="" prototype.js"></script>
</head>
<body>
<script type="text/_javascript_">
new Form.Element.EventObserver( 'id1',function(ele,value){
$('id2').innerHTML="test"; } );
</script>
<form>
<select id="id1">
<option value="">A</option>
<option>B</option>
</select>
</form>
<div id="id2""></div>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---
