문제

I am using mobiscroll 2.1 on my web page. The problem that i am facing is that when i click on input button to see Mobiscroll and Mobiscroll widget pops up, now if i press F5 or refresh the page, instead of clicking Set or Cancel button, all the input fields are disabled.(This problem is only in firefox).

Thanks in advance !!

도움이 되었습니까?

해결책

I found this: (Bug With Firefox - Disabled Attribute of Input Not Resetting When Refreshing):

This is a "feature" of Firefox which remembers form input values across page refreshes. To fix this behavior, you simply set autocomplete="off" on the form containing the inputs, or just directly to the input.

This stops autocomplete from working and prevents the browser from remembering the state of input fields.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top