Under ie8, the cursor is positioned to the left after the default value is dynamically set by input.

under ie8,
check the input box, and then
clipboard.png
inputinput

clipboard.png

clipboard.png I hope the god will help solve it. Thank you

.
Mar.06,2021

I move the cursor to the end every time

//
function setCursorPosition(tobj, spos) {
    if (spos < 0)
        spos = tobj.value.length;
    //,  
    if (tobj.setSelectionRange) {
        setTimeout(function () {
            tobj.setSelectionRange(spos, spos);
            tobj.focus();
        }, 0);
        //IE  
    } else if (tobj.createTextRange) {
        var rng = tobj.createTextRange();
        rng.move('character', spos);
        rng.select();
    }
}`
BUG
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb21c3-23a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb21c3-23a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?