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 Forums

Input file type cant be triggered

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

11. November 2011, 12:19:20

smapsekar

Posts: 2

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
}

11. November 2011, 12:25:28

smapsekar

Posts: 2

seem like there is a bug posted sorry to waste u time..u search on Forum is a struggle.39490,

Forums » Opera for Windows/Mac/Linux » Opera browser