خرید بک لینک
I am doing all of this in the context of making surveys, with SSI Sawtooth. I'm trying to use jquery to maintain continuity with other parts of the survey. When I pull up the notes page for the survey, by pressing F10, I would like the cursor to automatically jump to the note text box (and also to shift the page down if needed, I haven't gotten to that part yet though)

Code:

$('#txt1').keyup(function() {
 if(e.keyCode == 121) {
    e.preventDefault();
    $('#txt2').focus();
 }
});

I have been trying this, and some variations on it, but it doesn't seem to be working. Could anyone help me figure out what I'm doing wrong?

Thanks!

برچسب: نویسنده: آیلین رضوانی تاريخ: شنبه 17 تير 1396 ساعت: 21:34

صفحه بندی