Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox for Android cannot get values from dropdown list

more options

Developer-related question:

I have a Javascript function written with Coldfusion that can retrieve values from dropdown lists. This works in both IE and Firefox for desktop/PC. However, no matter which value is selected in the dropdown list for Firefox for Android, the value is not updated.

Sample code: (html file) <select name='type_desc_list' size='7' tabindex="-1" style='font-family:Arial;top:200;left:200;position:absolute;visibility:hidden;' onClick='selBoxKeyEvent(this, 13);' onKeyUp='selBoxKeyEvent(this, event.keyCode);' onFocus='selBoxOnFocusEvent(this);' onBlur='hideSelBox(this);'> <option value="Large">Large</option> <option value="Small">Small</option> </select>

(js file) function selBoxKeyEvent(selBox, keyCode) { if (keyCode == 13) { if (getBrowser() == "IE") { var eventX = document.body.scrollLeft + event.x; var offsetScrollBar = 0; if (selBox.size < selBox.options.length) offsetScrollBar = 12;

flgProcesssbox = 'n' if (navigator.userAgent.indexOf('Trident/6') != -1) { flgProcesssbox = 'y' } else {

if (((eventX > selBox.offsetLeft) && (eventX < (selBox.offsetLeft + selBox.offsetWidth - offsetScrollBar))) || (eventX > selBox.offsetLeft + selBox.offsetWidth)) { flgProcesssbox = 'y' } }

if (flgProcesssbox == 'y') { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);}

hideSelBox(selBox); } } else { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);} hideSelBox(selBox); } } else if (keyCode == 27) { entryArray[0].focus(); } if (selopen== true) { selfocus= true; } }

Developer-related question: I have a Javascript function written with Coldfusion that can retrieve values from dropdown lists. This works in both IE and Firefox for desktop/PC. However, no matter which value is selected in the dropdown list for Firefox for Android, the value is not updated. Sample code: (html file) <select name='type_desc_list' size='7' tabindex="-1" style='font-family:Arial;top:200;left:200;position:absolute;visibility:hidden;' onClick='selBoxKeyEvent(this, 13);' onKeyUp='selBoxKeyEvent(this, event.keyCode);' onFocus='selBoxOnFocusEvent(this);' onBlur='hideSelBox(this);'> <option value="Large">Large</option> <option value="Small">Small</option> </select> (js file) function selBoxKeyEvent(selBox, keyCode) { if (keyCode == 13) { if (getBrowser() == "IE") { var eventX = document.body.scrollLeft + event.x; var offsetScrollBar = 0; if (selBox.size < selBox.options.length) offsetScrollBar = 12; flgProcesssbox = 'n' if (navigator.userAgent.indexOf('Trident/6') != -1) { flgProcesssbox = 'y' } else { if (((eventX > selBox.offsetLeft) && (eventX < (selBox.offsetLeft + selBox.offsetWidth - offsetScrollBar))) || (eventX > selBox.offsetLeft + selBox.offsetWidth)) { flgProcesssbox = 'y' } } if (flgProcesssbox == 'y') { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);} hideSelBox(selBox); } } else { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);} hideSelBox(selBox); } } else if (keyCode == 27) { entryArray[0].focus(); } if (selopen== true) { selfocus= true; } }

모든 댓글 (2)

more options

I dont have much idea about this thing. If you think its a bug, you should file it at https://bugzilla.mozilla.org/enter_bug.cgi

more options

hi poila_invictus

This site is a user support forum for user questions.

The best place to ask developer questions is on stack overflow; please tag your question firefox or html5-apps:

http://stackoverflow.com/questions/tagged/firefox+or+firefox-os+or+html5-apps

hope that helps!

...Roland