Topic: Disable browse-button
I am using the UI-widget, and I want to be able to disable the browse-button...how can I do that..?
Plupload Forum → General discussion → Disable browse-button
I am using the UI-widget, and I want to be able to disable the browse-button...how can I do that..?
This might help:
Can I use this code with the ui-widget? Where should I put it? What is Initialization? I get the opacity working but I don't manage to add attr.
disabled to add-files button.
Initialization:
$('a[id=uploader_browse]').css("opacity", "0.5");
// the <a id="uploader_browse">Add files</a> located in the "filename" div of the widget is the "Add files" button/selector which when enabled, opens the "browse" files dialog.
// the 0.5 opacity creates the disabled "dimmed" effect
$('input[type=file]').attr("disabled", true);
// the actual file uploading control.
//there is only one <input type="file"> in my form so this works.
Plupload Forum → General discussion → Disable browse-button
You are not logged in. Please login or register.
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_repository official extension is installed. Copyright © 2003–2009 PunBB.
Generated in 0.099 seconds (79% PHP - 21% DB) with 9 queries