The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
Input file type cant be triggered
1) Input file type cant be triggered via a java script call. It works on almost all modern Browser like chrome and FF and Even IE as well..
I am not sure if this was a security issue.
<html>
<head>
</head>
<body>
<p>This is for testing file type of on opera</p>
<a href="#" id="change-photo">Change Photo</a>
<input type="file" id="logo-asset" name="channel[logo]" tabindex="3" size="23" />
</body>
</html>
Javascript:
$(document).ready(function(){
bindFunction();
});
var bindFunction=function(){
$('#change-photo').click('triggerFileType');
}
var triggerFileType=function(){
//some code
}