javascript - Not working on firefox -


can body me find out, why link(webrtc example) http://goo.gl/pnmsii not working on firefox? it's working fine on chrome & opera not on firefox.

i've planned build 1 photo capturing tool webcam, got stuck now.

function validate(evt) {       var theevent = evt || window.event;       var key = theevent.keycode || theevent.which;       key = string.fromcharcode( key );       var regex = /[0-9a-fa-f]|\./;       if( !regex.test(key) ) {         theevent.returnvalue = false;         if(theevent.preventdefault) theevent.preventdefault();       }  }  

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -