Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3343 มุมมอง

This is my code but it is not working

screen.js

        onload: function () {
            if (this.src == '123.jpg'){
            this.src = 'mypic.jpg';
            }
        },
pos.xml

<div style='text-align:center'>
                    <img id='myPic' src='123.jpg' style=" width:100%;height:50%;"/>
                </div>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 19
5599
2
ก.พ. 22
10409
0
พ.ย. 22
2912
1
ต.ค. 22
5694
2
ก.ค. 22
20165