Quote:
Originally Posted by sgadow
Code:
var selects = document.getElementsByTagName( 'select' );
for( var i = 0, box; ( box = selects[ i ] ); i++ )
if( box.name.indexOf( 'ereg|' ) == 0 )
box.onchange();
That makes sense but I am unsure as to where exactly or how to modify my code to get it to work. I am rather new to this sorry 
|
The bottom of the page should look like this:
Code:
<script type="text/javascript">
var selects = document.getElementsByTagName( 'select' );
for( var i = 0, box; ( box = selects[ i ] ); i++ )
if( box.name.indexOf( 'ereg|' ) == 0 )
box.onchange();
</script>
</body>
</html>