Displaying 1 result from an estimated 1 matches for "focusablefield".
2007 Jun 05
2
.activate() behaviour
...;<input id="input2" class="focusable" type="text" name="bla2" /></
td>
</tr>
</table>
<script type="text/javascript">
$(''input1'').activate();
$$(''.focusable'').each(function(focusableField){
Event.observe(focusableField, ''change'', function(event){
var elt=Event.element(event);
//elt.activate();
$(elt.id).activate();
});
});
</script>
</form>
</body>
</html>
--------------------------------------------------------------------...